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>(() => {