HomePhabricator
Diffusion Comm 24746e00189d

[web] Memoize `loginButtonContent` and `saveButtonContent`

Description

[web] Memoize loginButtonContent and saveButtonContent

Summary: Noticed these could be memoized.

Test Plan: Made sure everything looked as expected on the LogInForm modal and ThreadSettingsGeneralTab save button. Loading indicators showed up correctly, disappeared after submit was complete, etc.

Reviewers: atul

Reviewed By: atul

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D4930

Details

Provenance
aboshAuthored on Aug 23 2022, 2:09 PM
Reviewer
atul
Differential Revision
D4930: [web] Memoize `loginButtonContent` and `saveButtonContent`
Parents
rCOMM4dd1bf70caab: [landing] SIWE component with RainbowKit that connects & signs a message
Branches
Unknown
Tags
Unknown