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
F3504820: D6719.id22502.diff
Fri, Dec 20, 10:38 AM
F3503574: D6719.diff
Fri, Dec 20, 5:40 AM
Unknown Object (File)
Sun, Dec 15, 1:56 AM
Unknown Object (File)
Sun, Dec 15, 1:56 AM
Unknown Object (File)
Sun, Dec 15, 1:56 AM
Unknown Object (File)
Sun, Dec 15, 1:54 AM
Unknown Object (File)
Sun, Dec 15, 1:29 AM
Unknown Object (File)
Tue, Dec 3, 3:39 PM
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