@bigbinary/neeto-themes-frontend 4.2.4-beta2 → 4.2.4-beta3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1506,10 +1506,16 @@ var Customize = function Customize(_ref) {
1506
1506
  onApplyThemeSuccess === null || onApplyThemeSuccess === void 0 || onApplyThemeSuccess(theme);
1507
1507
  case 9:
1508
1508
  onCreateTheme(theme);
1509
+ if (isNewThemeRoute()) {
1510
+ _context.next = 12;
1511
+ break;
1512
+ }
1513
+ return _context.abrupt("return");
1514
+ case 12:
1509
1515
  history.replace(utils$1.buildUrl(buildPathname(useGlobalThemesApi.routes.themes.edit), {
1510
1516
  themeId: theme.id
1511
1517
  }));
1512
- case 11:
1518
+ case 13:
1513
1519
  case "end":
1514
1520
  return _context.stop();
1515
1521
  }