Page MenuHomePhabricator

D10174.diff
No OneTemporary

D10174.diff

diff --git a/native/navigation/community-drawer-content.react.js b/native/navigation/community-drawer-content.react.js
--- a/native/navigation/community-drawer-content.react.js
+++ b/native/navigation/community-drawer-content.react.js
@@ -53,15 +53,13 @@
const dispatchActionPromise = useDispatchActionPromise();
const drawerStatus = useDrawerStatus();
React.useEffect(() => {
- (async () => {
- if (drawerStatus !== 'open') {
- return;
- }
- await dispatchActionPromise(
- fetchPrimaryInviteLinkActionTypes,
- callFetchPrimaryLinks(),
- );
- })();
+ if (drawerStatus !== 'open') {
+ return;
+ }
+ void dispatchActionPromise(
+ fetchPrimaryInviteLinkActionTypes,
+ callFetchPrimaryLinks(),
+ );
}, [callFetchPrimaryLinks, dispatchActionPromise, drawerStatus]);
const [expanded, setExpanded] = React.useState<Set<string>>(() => {

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 2:46 AM (17 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2567679
Default Alt Text
D10174.diff (921 B)

Event Timeline