nimbus-gui/src/App.tsx

27 lines
607 B
TypeScript
Raw Normal View History

2023-08-07 11:24:37 +03:00
import { TamaguiProvider } from 'tamagui'
import { createBrowserRouter, RouterProvider } from 'react-router-dom'
2023-08-07 11:24:37 +03:00
import { Provider as StatusProvider } from '@status-im/components'
import './App.css'
import config from '../tamagui.config'
import LandingPage from './components/LayoutComponent/LandingPage'
2023-08-07 11:24:37 +03:00
const router = createBrowserRouter([
{
path: '/',
element: <LandingPage />,
},
])
function App() {
2023-08-03 09:20:54 +03:00
return (
<TamaguiProvider config={config}>
2023-08-07 11:24:37 +03:00
<StatusProvider>
<RouterProvider router={router} />
</StatusProvider>
</TamaguiProvider>
2023-08-03 09:20:54 +03:00
)
}
export default App