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)
Sun, Nov 10, 6:41 AM
Unknown Object (File)
Sun, Nov 10, 6:41 AM
Unknown Object (File)
Sun, Nov 10, 6:41 AM
Unknown Object (File)
Sun, Nov 10, 6:40 AM
Unknown Object (File)
Tue, Nov 5, 2:09 AM
Unknown Object (File)
Mon, Nov 4, 7:17 AM
Unknown Object (File)
Tue, Oct 29, 8:39 AM
Unknown Object (File)
Oct 2 2024, 8:13 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
Branch
arcpatch-D6719 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

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