File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ import { Provider } from "react-redux";
3
3
import { Router } from "@reach/router" ;
4
4
import ReactHeap from "reactjs-heap" ;
5
5
import ReduxToastr from "react-redux-toastr" ;
6
- import { disableSidebarForRoute } from "@topcoder/micro-frontends-navbar-app" ;
6
+ import {
7
+ disableSidebarForRoute ,
8
+ disableNavigationForRoute ,
9
+ } from "@topcoder/micro-frontends-navbar-app" ;
7
10
import GetStarted from "./routes/GetStarted" ;
8
11
import ContactDetails from "./routes/ContactDetails" ;
9
12
import PaymentSetup from "./routes/PaymentSetup" ;
@@ -27,6 +30,8 @@ if (HEAP_ANALYTICS_KEY) {
27
30
28
31
export default function Root ( ) {
29
32
useEffect ( ( ) => {
33
+ disableNavigationForRoute ( "/onboard/*" ) ;
34
+
30
35
disableSidebarForRoute ( "/onboard" ) ;
31
36
disableSidebarForRoute ( "/onboard/contact-details" ) ;
32
37
disableSidebarForRoute ( "/onboard/payment-setup" ) ;
You can’t perform that action at this time.
0 commit comments