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

Commit 40df3bc

Browse files
Earn App - Enable Gigs Listing Link (#199)
* restore gigs-listing * restore ci
1 parent 7f09f28 commit 40df3bc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/Menu/index.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ const Menu = ({ menu, selected, onSelect, isLoggedIn, onUpdateMenu }) => {
3434

3535
const onSelectMenuItem = (name, path) => {
3636
selectionRef.current.select(name);
37-
if (name == "Gigs") {
38-
window.location.href = `${process.env.URL.BASE}/gigs`;
39-
}
37+
// if (name == "Gigs") {
38+
// window.location.href = `${process.env.URL.BASE}/gigs`;
39+
// }
4040
if (path) {
4141
navigate(path);
4242
}

src/constants/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const NAV_MENU = {
2020
children: [
2121
{
2222
name: "Gigs",
23-
path: "",
23+
path: "/earn/gigs",
2424
},
2525
{
2626
name: "Challenges",

0 commit comments

Comments
 (0)