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

[PROD Release] Gigs Detail and Apply Integration #208

Merged
merged 17 commits into from
Nov 11, 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
10 changes: 10 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ const App = () => {
System.import("@topcoder/micro-frontends-challenges-app")
}
/>
<Parcel
path="/earn/gigs/:externalId/apply"
view="gig-apply"
config={() => System.import("@topcoder/micro-frontends-gigs-app")}
/>
<Parcel
path="/earn/gigs/:externalId"
view="gig-details"
config={() => System.import("@topcoder/micro-frontends-gigs-app")}
/>
<Parcel
path="/earn/gigs"
view="gigs"
Expand Down
3 changes: 0 additions & 3 deletions src/components/Menu/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ 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 (path) {
navigate(path);
}
Expand Down