diff --git a/apps/publisher-dashboard/src/routes/auth/confirm/+page.svelte b/apps/publisher-dashboard/src/routes/auth/confirm/+page.svelte index 375692b..e1a4164 100644 --- a/apps/publisher-dashboard/src/routes/auth/confirm/+page.svelte +++ b/apps/publisher-dashboard/src/routes/auth/confirm/+page.svelte @@ -58,7 +58,7 @@ const statusQuery = createQuery(() => ({ $effect(() => { if (statusQuery.data?.status === "completed") { clearLoginFlowState(); - goto(statusQuery.data.redirectTo || "/performance"); + goto(statusQuery.data.redirectTo || "/"); } }); diff --git a/apps/publisher-dashboard/src/routes/auth/setup/user/+page.svelte b/apps/publisher-dashboard/src/routes/auth/setup/user/+page.svelte index 7cfee3b..ee55cc8 100644 --- a/apps/publisher-dashboard/src/routes/auth/setup/user/+page.svelte +++ b/apps/publisher-dashboard/src/routes/auth/setup/user/+page.svelte @@ -22,7 +22,7 @@ const userQuery = createQuery(() => ({ // Redirect if user doesn't need setup $effect(() => { if (userQuery.data && !userQuery.data.needsSetup) { - goto("/performance"); + goto("/"); } }); @@ -68,7 +68,7 @@ async function handleSubmit(e: Event) { }); toast.success("Profile setup complete!"); - goto("/performance"); + goto("/"); } catch (e) { error = e instanceof Error ? e.message : "Failed to save profile"; } finally { diff --git a/apps/publisher-dashboard/src/routes/auth/trust-device/+page.svelte b/apps/publisher-dashboard/src/routes/auth/trust-device/+page.svelte index e404f64..37db80c 100644 --- a/apps/publisher-dashboard/src/routes/auth/trust-device/+page.svelte +++ b/apps/publisher-dashboard/src/routes/auth/trust-device/+page.svelte @@ -52,7 +52,7 @@ async function handleTrust() { try { await api.me.trustDevice({ name: deviceName.trim() }); toast.success("Device trusted successfully!"); - goto("/performance"); + goto("/"); } catch (e) { error = e instanceof Error ? e.message : "Failed to trust device"; } finally { diff --git a/apps/publisher-dashboard/src/routes/auth/verify/+page.svelte b/apps/publisher-dashboard/src/routes/auth/verify/+page.svelte index 95bea6d..c2c1c51 100644 --- a/apps/publisher-dashboard/src/routes/auth/verify/+page.svelte +++ b/apps/publisher-dashboard/src/routes/auth/verify/+page.svelte @@ -31,7 +31,7 @@ async function verifyEmail(): Promise { try { await api.auth.verifyEmail({ token }); toast.success("Email verified successfully!"); - goto("/performance"); + goto("/"); } catch (e) { error = e instanceof Error ? e.message : "Verification failed"; } finally {