This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +2
-38
lines changed Expand file tree Collapse file tree 3 files changed +2
-38
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ workflows:
7878 branches :
7979 only :
8080 - dev
81+ - CORE-287
8182
8283 # Production builds are exectuted only on tagged commits to the
8384 # master branch.
Original file line number Diff line number Diff line change 22 * Main App component
33 */
44import React , { useLayoutEffect , useEffect , useRef } from "react" ;
5- import { Router , useLocation , Redirect } from "@reach/router" ;
5+ import { Router , useLocation } from "@reach/router" ;
66import { disableSidebarForRoute } from "@topcoder/mfe-header" ;
77import _ from "lodash" ;
88import { usePreviousLocation } from "./utils/hooks" ;
@@ -39,33 +39,11 @@ const App = () => {
3939 { menuVisible &&
4040 ReactDOM . createPortal ( < Menu /> , document . querySelector ( "#menu-id" ) ) }
4141 < Router >
42- < Parcel
43- path = "/earn/find/challenges/*"
44- config = { ( ) =>
45- System . import ( "@topcoder/micro-frontends-challenges-app" )
46- }
47- />
48- < Parcel
49- path = "/earn/gigs/:externalId/apply"
50- view = "gig-apply"
51- config = { ( ) => System . import ( "@topcoder/micro-frontends-gigs-app" ) }
52- />
53- < Parcel
54- path = "/earn/gigs/:externalId"
55- view = "gig-details"
56- config = { ( ) => System . import ( "@topcoder/micro-frontends-gigs-app" ) }
57- />
58- < Parcel
59- path = "/earn/gigs"
60- view = "gigs"
61- config = { ( ) => System . import ( "@topcoder/micro-frontends-gigs-app" ) }
62- />
6342 < Parcel
6443 path = "/earn/my-gigs"
6544 view = "my-gigs"
6645 config = { ( ) => System . import ( "@topcoder/micro-frontends-gigs-app" ) }
6746 />
68- < Redirect from = "/earn/*" to = "/earn/find/challenges/" noThrow />
6947 </ Router >
7048 </ >
7149 ) ;
Original file line number Diff line number Diff line change @@ -13,20 +13,5 @@ export const NAV_MENU = {
1313 } ,
1414 ] ,
1515 } ,
16- {
17- name : "Find Work" ,
18- icon : "find-work.svg" ,
19- iconActive : "find-work-green.svg" ,
20- children : [
21- {
22- name : "Gigs" ,
23- path : "/earn/gigs" ,
24- } ,
25- {
26- name : "Challenges" ,
27- path : "/earn/find/challenges" ,
28- } ,
29- ] ,
30- } ,
3116 ] ,
3217} ;
You can’t perform that action at this time.
0 commit comments