File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
routes/Products/components/BasicInfo Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export const GA_ID = "GTM-MXXQHG8";
47
47
48
48
export const ROUTES = {
49
49
INTAKE_FORM : `${ selfServiceRootRoute } /wizard` ,
50
- HOME_PAGE : ` ${ selfServiceRootRoute } ` ,
50
+ HOME_PAGE : rootRoute || '/' ,
51
51
DASHBOARD_PAGE : `${ rootRoute } /dashboard` ,
52
52
WEBSITE_DESIGN : `${ selfServiceRootRoute } /new/website-design/basic-info` ,
53
53
WEBSITE_DESIGN_REVIEW : `${ selfServiceRootRoute } /new/website-design/review` ,
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import {
21
21
BUTTON_TYPE ,
22
22
PageOptions ,
23
23
PrimaryDataChallengeOptions ,
24
+ ROUTES ,
24
25
} from "../../../../constants/" ;
25
26
import {
26
27
saveBasicInfo ,
@@ -219,7 +220,7 @@ const BasicInfo = ({
219
220
const saveForm = ( autoSave ) => {
220
221
saveBasicInfo ( formData ) ;
221
222
dispatch ( triggerAutoSave ( autoSave , isLoggedIn , true ) ) ;
222
- if ( autoSave ) navigate ( selfServiceRootRoute ) ;
223
+ if ( autoSave ) navigate ( ROUTES . HOME_PAGE ) ;
223
224
} ;
224
225
225
226
const onClickBreadcrumbItem = ( item ) => {
You can’t perform that action at this time.
0 commit comments