Wait for i18 to be ready before trying to load the page
This commit is contained in:
parent
4c05e0925d
commit
f524403580
1 changed files with 3 additions and 1 deletions
|
@ -486,7 +486,9 @@ export default function App(props: EnteAppProps) {
|
|||
<EnteSpinner />
|
||||
</Overlay>
|
||||
)}
|
||||
<Component setLoading={setLoading} {...pageProps} />
|
||||
{isI18nReady && (
|
||||
<Component setLoading={setLoading} {...pageProps} />
|
||||
)}
|
||||
</AppContext.Provider>
|
||||
</ThemeProvider>
|
||||
</CacheProvider>
|
||||
|
|
Loading…
Add table
Reference in a new issue