Page MenuHomePhabricator

[web] Move `setPrimaryIdentityPublicKey` up from `SIWELoginForm` to `LoginForm`
ClosedPublic

Authored by atul on Feb 13 2023, 10:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 17, 3:43 PM
Unknown Object (File)
Mon, Jun 17, 3:43 PM
Unknown Object (File)
Mon, Jun 17, 3:43 PM
Unknown Object (File)
Mon, Jun 17, 3:43 PM
Unknown Object (File)
Mon, Jun 17, 3:43 PM
Unknown Object (File)
Thu, Jun 13, 7:37 PM
Unknown Object (File)
Thu, Jun 13, 5:11 PM
Unknown Object (File)
Fri, Jun 7, 5:21 AM
Subscribers
None

Details

Summary

We're going to want the primaryIdentityPublicKey in both SIWELoginForm and TraditionalLoginForm, so we lift the useEffect and setting of primaryIdentityPublicKey "up" so it can be accessed by both child components.


Depends on D6675

Test Plan

primaryIdentityPublicKey continues to be included in SIWE message signing request.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Feb 13 2023, 10:58 AM

Can you please use the Phabricator stack feature going forward? It's hard to tell how your diffs related to each other

atul edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Feb 13 2023, 11:05 AM