parent
3914611970
commit
90d6399d43
13
src/App.tsx
13
src/App.tsx
|
@ -1,14 +1,23 @@
|
||||||
import { TamaguiProvider } from 'tamagui'
|
import { TamaguiProvider } from 'tamagui'
|
||||||
import './App.css'
|
import { createBrowserRouter, RouterProvider } from 'react-router-dom'
|
||||||
import { Provider as StatusProvider } from '@status-im/components'
|
import { Provider as StatusProvider } from '@status-im/components'
|
||||||
|
|
||||||
|
import './App.css'
|
||||||
import config from '../tamagui.config'
|
import config from '../tamagui.config'
|
||||||
import LandingPage from './components/LayoutComponent/LandingPage'
|
import LandingPage from './components/LayoutComponent/LandingPage'
|
||||||
|
|
||||||
|
const router = createBrowserRouter([
|
||||||
|
{
|
||||||
|
path: '/',
|
||||||
|
element: <LandingPage />,
|
||||||
|
},
|
||||||
|
])
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<TamaguiProvider config={config}>
|
<TamaguiProvider config={config}>
|
||||||
<StatusProvider>
|
<StatusProvider>
|
||||||
<LandingPage />
|
<RouterProvider router={router} />
|
||||||
</StatusProvider>
|
</StatusProvider>
|
||||||
</TamaguiProvider>
|
</TamaguiProvider>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue