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

Gigs-Listing Project Change #189

Merged
merged 7 commits into from
Oct 11, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
restore redirection
  • Loading branch information
LieutenantRoger committed Oct 8, 2021
commit badf451d7a6cba544fc9078e59083e055e3910f7
3 changes: 2 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Main App component
*/
import React, { useLayoutEffect, useEffect, useRef } from "react";
import { Router, useLocation } from "@reach/router";
import { Router, useLocation, Redirect } from "@reach/router";
import { disableSidebarForRoute } from "@topcoder/micro-frontends-navbar-app";
import _ from "lodash";
import { usePreviousLocation } from "./utils/hooks";
Expand Down Expand Up @@ -55,6 +55,7 @@ const App = () => {
view="my-gigs"
config={() => System.import("@topcoder/micro-frontends-gigs-app")}
/>
<Redirect from="/earn/*" to="/earn/find/challenges/" noThrow />
</Router>
</>
);
Expand Down