HomePhabricator
Diffusion Comm 7d9fa2130834

[web] Directly render code that is no longer conditional

Tags
None
Referenced Files
F24416: empty.png
Mar 28 2022, 6:19 AM
F24417: error1.png
Mar 28 2022, 6:19 AM
F24418: error2.png
Mar 28 2022, 6:19 AM
Subscribers
None

Description

[web] Directly render code that is no longer conditional

Summary:
Simplify the code by directly rendering instead of first assigning to a variable

empty.png (980×1 px, 92 KB)

error1.png (1×1 px, 104 KB)

error2.png (1×1 px, 94 KB)

Depends on D3473

Test Plan: Flow

Reviewers: benschac, atul, def-au1t

Reviewed By: benschac, atul

Subscribers: ashoat, Adrian, karol-bisztyga

Differential Revision: https://phabricator.ashoat.com/D3474

Details

Provenance
tomekAuthored on Mar 18 2022, 6:19 AM
Reviewer
benschac
Differential Revision
D3474: [web] Directly render code that is no longer conditional
Parents
rCOMM7b33c27fda1c: [web] Delete extraneous code from `PasswordChangeModal`
Branches
Unknown
Tags
Unknown