From 7b716b2664a0eadeaf10d50f7d3a70f3b18478b1 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 7 Mar 2024 02:29:10 +0530 Subject: [PATCH] feat: wrap topbar in browser router --- ui/src/App.tsx | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/ui/src/App.tsx b/ui/src/App.tsx index 38cd4843..a415ef1f 100644 --- a/ui/src/App.tsx +++ b/ui/src/App.tsx @@ -1,12 +1,10 @@ -function App() { +import Topbar from "./components/Topbar"; +import { BrowserRouter } from 'react-router-dom' - return ( - <> -

- Hello world! -

- - ) -} +const App = () => ( + + + +); -export default App +export default App;