From 90d6399d43839a6196f869a69d8e48124fddb394 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Wed, 9 Aug 2023 13:37:22 +0300 Subject: [PATCH] feat: implement react router add landing page on "/" --- src/App.tsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 35aeb708..44948ea8 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,14 +1,23 @@ import { TamaguiProvider } from 'tamagui' -import './App.css' +import { createBrowserRouter, RouterProvider } from 'react-router-dom' import { Provider as StatusProvider } from '@status-im/components' + +import './App.css' import config from '../tamagui.config' import LandingPage from './components/LayoutComponent/LandingPage' +const router = createBrowserRouter([ + { + path: '/', + element: , + }, +]) + function App() { return ( - + )