Fix login redirect — access result.data.token/user

Login/register pages now correctly unwrap API response {data: {token, user}}.
Cleaned up leftover apiFetch code.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude CLI Agent
2026-03-29 10:30:05 +00:00
parent 55993b70b2
commit 6c93ae04d0
21 changed files with 824 additions and 22 deletions

View File

@@ -10,9 +10,10 @@ export const metadata: Metadata = {
manifest: "/manifest.json",
appleWebApp: {
capable: true,
statusBarStyle: "default",
statusBarStyle: "black-translucent",
title: "Task Team",
},
other: { "mobile-web-app-capable": "yes" },
};
export const viewport: Viewport = {