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

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.
@@ -1532,10 +1532,16 @@ var Customize = function Customize(_ref) {
1532
1532
  onApplyThemeSuccess === null || onApplyThemeSuccess === void 0 || onApplyThemeSuccess(theme);
1533
1533
  case 9:
1534
1534
  onCreateTheme(theme);
1535
+ if (isNewThemeRoute()) {
1536
+ _context.next = 12;
1537
+ break;
1538
+ }
1539
+ return _context.abrupt("return");
1540
+ case 12:
1535
1541
  history.replace(utils$1.buildUrl(buildPathname(useGlobalThemesApi.routes.themes.edit), {
1536
1542
  themeId: theme.id
1537
1543
  }));
1538
- case 11:
1544
+ case 13:
1539
1545
  case "end":
1540
1546
  return _context.stop();
1541
1547
  }