diff --git a/src/app/App.tsx b/src/app/App.tsx index d222630..7bad8a1 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -1,24 +1,13 @@ -import { Box, Container, Spinner } from '@chakra-ui/react' +import React from 'react' +import { Routes, Route } from 'react-router-dom' +import HomePage from '../pages/HomePage' function App (): JSX.Element { return ( -
- - - - - +
+ + } /> +
) } diff --git a/src/index.tsx b/src/index.tsx index e9d7f44..5dc11df 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3,6 +3,7 @@ import ReactDOM from 'react-dom/client' import App from './app/App' import reportWebVitals from './reportWebVitals' import { ChakraProvider } from '@chakra-ui/react' +import { BrowserRouter } from 'react-router-dom' const rootElement = document.getElementById('root') @@ -10,9 +11,11 @@ if (rootElement !== null) { const root = ReactDOM.createRoot(rootElement) root.render( + + ) } else {