Skip to content

Commit f19145d

Browse files
details fixed
1 parent 4b76f1b commit f19145d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

giftlink-frontend/src/App.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import 'bootstrap/dist/css/bootstrap.min.css';
77
import './App.css';
88
import SearchPage from './components/SearchPage/SearchPage';
99
import Navbar from './components/Navbar/Navbar';
10+
import DetailsPage from './components/DetailsPage/DetailsPage';
1011
function App() {
1112
return (
1213
<>
@@ -16,6 +17,7 @@ function App() {
1617
<Route path="/app" element={<MainPage />} />
1718
<Route path="/app/login" element={<LoginPage/>} />
1819
<Route path="/app/register" element={<RegisterPage />} />
20+
<Route path="/app/product/:productId" element={<DetailsPage/>} />
1921
<Route path="/app/search" element={<SearchPage/>} />
2022
</Routes>
2123
</>

0 commit comments

Comments
 (0)