From 9682373d869372415174dcd515ff1f00b7797af4 Mon Sep 17 00:00:00 2001 From: LieutenantRoger Date: Tue, 12 Oct 2021 11:57:32 +0800 Subject: [PATCH 1/2] restore gigs-listing --- .circleci/config.yml | 1 + src/components/Menu/index.jsx | 6 +++--- src/constants/index.js | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0cb6119..a055d25 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -77,6 +77,7 @@ workflows: branches: only: - dev + - restore-gigs-listing # Production builds are exectuted only on tagged commits to the # master branch. diff --git a/src/components/Menu/index.jsx b/src/components/Menu/index.jsx index b631099..436018e 100644 --- a/src/components/Menu/index.jsx +++ b/src/components/Menu/index.jsx @@ -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); } diff --git a/src/constants/index.js b/src/constants/index.js index 6af6add..72c8acf 100644 --- a/src/constants/index.js +++ b/src/constants/index.js @@ -20,7 +20,7 @@ export const NAV_MENU = { children: [ { name: "Gigs", - path: "", + path: "/earn/gigs", }, { name: "Challenges", From bd164700b0acbf8d61810337733688539f223662 Mon Sep 17 00:00:00 2001 From: LieutenantRoger Date: Tue, 19 Oct 2021 13:20:18 +0800 Subject: [PATCH 2/2] restore ci --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a055d25..0cb6119 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -77,7 +77,6 @@ workflows: branches: only: - dev - - restore-gigs-listing # Production builds are exectuted only on tagged commits to the # master branch.