diff --git a/src/Expensify.tsx b/src/Expensify.tsx index 9d391eeb8b7f..11a638670a32 100644 --- a/src/Expensify.tsx +++ b/src/Expensify.tsx @@ -238,7 +238,7 @@ function Expensify({ Audio.setAudioModeAsync({playsInSilentModeIOS: true}); }, []); - useEffect(() => { + useLayoutEffect(() => { if (!isNavigationReady || !lastRoute) { return; }