diff options
Diffstat (limited to 'src/App.web.tsx')
-rw-r--r-- | src/App.web.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/App.web.tsx b/src/App.web.tsx index 1c6650733..846d178f9 100644 --- a/src/App.web.tsx +++ b/src/App.web.tsx @@ -144,13 +144,13 @@ function InnerApp() { function App() { const [isReady, setReady] = useState(false) - const [loaded] = useFonts() + const [loaded, error] = useFonts() React.useEffect(() => { initPersistedState().then(() => setReady(true)) }, []) - if (!isReady || !loaded) { + if (!isReady || (!loaded && !error)) { return null } |