Page MenuHomePhabricator

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

Authored by atul on Mar 14 2022, 10:46 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Nov 14 2024, 4:32 PM

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
Lint
Lint Not Applicable
Unit
Tests Not Applicable