1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Now can scroll to top

This commit is contained in:
Zhiyuan Zheng
2020-12-13 23:02:54 +01:00
parent ce7563ecbc
commit c1076b8e94
6 changed files with 101 additions and 62 deletions

View File

@ -55,10 +55,12 @@ const App: React.FC = () => {
<AppearanceProvider>
<ReactQueryCacheProvider queryCache={queryCache}>
<Provider store={store}>
<PersistGate persistor={persistor}>
<PersistGate
persistor={persistor}
onBeforeLift={() => setAppLoaded(true)}
>
{bootstrapped => {
if (bootstrapped) {
setAppLoaded(true)
require('@root/i18n/i18n')
return (
<ThemeManager>