Skip to content

Commit 7b5b3df

Browse files
Update App.js
1 parent 9438f58 commit 7b5b3df

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 Navbar from './components/Navbar/Navbar';
77
import LoginPage from './components/LoginPage/LoginPage';
88
import RegisterPage from './components/RegisterPage/RegisterPage';
99
import SearchPage from './components/SearchPage/SearchPage';
10+
import DetailsPage from './components/DetailsPage/DetailsPage';
1011
import Profile from './components/Profile/Profile';
1112

1213
function App() {
@@ -21,6 +22,7 @@ function App() {
2122
<Route path="/app/login" element={<LoginPage/>} />
2223
<Route path="/app/register" element={<RegisterPage />} />
2324
<Route path="/app/search" element={<SearchPage/>} />
25+
<Route path="/app/product/:productId" element={<DetailsPage/>} />
2426
<Route path="/app/profile" element={<Profile/>} />
2527
</Routes>
2628
</>

0 commit comments

Comments
 (0)