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:
78
78
branches :
79
79
only :
80
80
- dev
81
+ - CORE-287
81
82
82
83
# Production builds are exectuted only on tagged commits to the
83
84
# master branch.
Original file line number Diff line number Diff line change 2
2
* Main App component
3
3
*/
4
4
import React , { useLayoutEffect , useEffect , useRef } from "react" ;
5
- import { Router , useLocation , Redirect } from "@reach/router" ;
5
+ import { Router , useLocation } from "@reach/router" ;
6
6
import { disableSidebarForRoute } from "@topcoder/mfe-header" ;
7
7
import _ from "lodash" ;
8
8
import { usePreviousLocation } from "./utils/hooks" ;
@@ -39,33 +39,11 @@ const App = () => {
39
39
{ menuVisible &&
40
40
ReactDOM . createPortal ( < Menu /> , document . querySelector ( "#menu-id" ) ) }
41
41
< 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
- />
63
42
< Parcel
64
43
path = "/earn/my-gigs"
65
44
view = "my-gigs"
66
45
config = { ( ) => System . import ( "@topcoder/micro-frontends-gigs-app" ) }
67
46
/>
68
- < Redirect from = "/earn/*" to = "/earn/find/challenges/" noThrow />
69
47
</ Router >
70
48
</ >
71
49
) ;
Original file line number Diff line number Diff line change @@ -13,20 +13,5 @@ export const NAV_MENU = {
13
13
} ,
14
14
] ,
15
15
} ,
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
- } ,
31
16
] ,
32
17
} ;
You can’t perform that action at this time.
0 commit comments