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

Restructure the project

This commit is contained in:
Zhiyuan Zheng
2020-11-21 13:19:05 +01:00
parent 3280663144
commit 40266b8ce3
42 changed files with 252 additions and 6619 deletions

View File

@ -1,7 +1,9 @@
import React from 'react'
import { QueryCache, ReactQueryCacheProvider, setConsole } from 'react-query'
import { Provider } from 'react-redux'
import { Index } from 'src/Index'
import store from 'src/store'
const queryCache = new QueryCache()
@ -18,7 +20,9 @@ if (__DEV__) {
const App: React.FC = () => (
<ReactQueryCacheProvider queryCache={queryCache}>
<Index />
<Provider store={store}>
<Index />
</Provider>
</ReactQueryCacheProvider>
)