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";
4747
4848export const ROUTES = {
4949 INTAKE_FORM : `${ selfServiceRootRoute } /wizard` ,
50- HOME_PAGE : ` ${ selfServiceRootRoute } ` ,
50+ HOME_PAGE : rootRoute || '/' ,
5151 DASHBOARD_PAGE : `${ rootRoute } /dashboard` ,
5252 WEBSITE_DESIGN : `${ selfServiceRootRoute } /new/website-design/basic-info` ,
5353 WEBSITE_DESIGN_REVIEW : `${ selfServiceRootRoute } /new/website-design/review` ,
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import {
2121 BUTTON_TYPE ,
2222 PageOptions ,
2323 PrimaryDataChallengeOptions ,
24+ ROUTES ,
2425} from "../../../../constants/" ;
2526import {
2627 saveBasicInfo ,
@@ -219,7 +220,7 @@ const BasicInfo = ({
219220 const saveForm = ( autoSave ) => {
220221 saveBasicInfo ( formData ) ;
221222 dispatch ( triggerAutoSave ( autoSave , isLoggedIn , true ) ) ;
222- if ( autoSave ) navigate ( selfServiceRootRoute ) ;
223+ if ( autoSave ) navigate ( ROUTES . HOME_PAGE ) ;
223224 } ;
224225
225226 const onClickBreadcrumbItem = ( item ) => {
You can’t perform that action at this time.
0 commit comments