diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_layout.svelte index 82c8e628de..d0eb93466d 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_layout.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_layout.svelte @@ -12,7 +12,7 @@ urlParam: "screenId", stateKey: "selectedScreenId", validate: id => $store.screens.some(screen => screen._id === id), - fallbackUrl: "../../", + fallbackUrl: "../../design", store, routify, }) diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenDropdownMenu.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenDropdownMenu.svelte index 2f14766d8e..55c79a3b9f 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenDropdownMenu.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenDropdownMenu.svelte @@ -66,7 +66,6 @@ const deleteScreen = async () => { try { await store.actions.screens.delete(screen) - $goto("../") notifications.success("Deleted screen successfully.") } catch (err) { notifications.error("Error deleting screen")