From 92663415cb85c29b75a3858a72ec2bce144d4a9b Mon Sep 17 00:00:00 2001 From: Thanh Pham Date: Sat, 3 Aug 2024 13:37:24 -0400 Subject: [PATCH] fix path --- src/App.js | 6 +++--- src/components/Navbar/index.jsx | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/App.js b/src/App.js index 49a031b..e28b101 100644 --- a/src/App.js +++ b/src/App.js @@ -6,14 +6,14 @@ import Home from './pages/Home'; import Contact from './pages/Contact'; function App() { - const basePath = '/react-cgecko-api' + const basePath = 'react-cgecko-api' return (
- } /> - } /> + } /> + } />
); diff --git a/src/components/Navbar/index.jsx b/src/components/Navbar/index.jsx index 2d39881..d2026d6 100644 --- a/src/components/Navbar/index.jsx +++ b/src/components/Navbar/index.jsx @@ -3,16 +3,16 @@ import Nav from 'react-bootstrap/Nav'; import Navbar from 'react-bootstrap/Navbar'; const Header = () => { - const basePath = '/react-cgecko-api' + const basePath = 'react-cgecko-api' return ( <> - React Boostrap + React Boostrap