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

Earn App - Enable Gigs Listing Link #199

Merged
merged 2 commits into from
Oct 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/Menu/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ const Menu = ({ menu, selected, onSelect, isLoggedIn, onUpdateMenu }) => {

const onSelectMenuItem = (name, path) => {
selectionRef.current.select(name);
if (name == "Gigs") {
window.location.href = `${process.env.URL.BASE}/gigs`;
}
// if (name == "Gigs") {
// window.location.href = `${process.env.URL.BASE}/gigs`;
// }
if (path) {
navigate(path);
}
Expand Down
2 changes: 1 addition & 1 deletion src/constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const NAV_MENU = {
children: [
{
name: "Gigs",
path: "",
path: "/earn/gigs",
},
{
name: "Challenges",
Expand Down