Page MenuHomePhabricator

[native] Remove unnecessary `invariant` in `ImagePasteModal:sendImage`
ClosedPublic

Authored by atul on Mar 14 2022, 10:46 AM.
Tags
None
Referenced Files
F3757900: D3423.id10352.diff
Fri, Jan 10, 7:44 AM
F3755462: D3423.diff
Fri, Jan 10, 4:45 AM
Unknown Object (File)
Sun, Jan 5, 2:15 PM
Unknown Object (File)
Sun, Jan 5, 2:15 PM
Unknown Object (File)
Sun, Jan 5, 2:14 PM
Unknown Object (File)
Sun, Jan 5, 2:09 PM
Unknown Object (File)
Nov 17 2024, 6:25 AM
Unknown Object (File)
Nov 16 2024, 10:07 AM

Details

Summary

I can't see any reason we have an invariant at the end of the callback here. Looks like this was introduced in one of my first diffs (https://phabricator.ashoat.com/D639) and I probably didn't really understand what was happening with flow/invariants

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Branch
landmarch14 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage