tooot/App.tsx

21 lines
405 B
TypeScript
Raw Normal View History

2020-10-31 21:04:46 +01:00
import React from 'react'
import { QueryCache, ReactQueryCacheProvider, setConsole } from 'react-query'
2020-10-31 21:04:46 +01:00
import { Index } from 'src/Index'
const queryCache = new QueryCache()
setConsole({
log: console.log,
warn: console.warn,
error: console.warn
})
const App: React.FC = () => (
<ReactQueryCacheProvider queryCache={queryCache}>
<Index />
</ReactQueryCacheProvider>
)
2020-10-31 21:04:46 +01:00
export default App