Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 82dcf75

Browse files
author
dengjun
committed
Add Redirection Link Finished
1 parent e705183 commit 82dcf75

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/App.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ const App = () => {
3838
selected={selectedMenuItem}
3939
onSelect={(item) => {
4040
setSelectedMenuItem(item);
41+
if (item == "Gigs") {
42+
window.location.href = `${process.env.URL.BASE}/gigs`;
43+
}
4144
}}
4245
isLoggedIn={isLoggedIn}
4346
/>

src/constants/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ export const NAV_MENU = {
2929
name: "Challenges",
3030
path: "/earn/find/challenges",
3131
},
32+
{
33+
name: "Gigs",
34+
path: "",
35+
},
3236
],
3337
},
3438
],

0 commit comments

Comments
 (0)