mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
auth-store.ts directly imported fetch-session, login, and register
which transitively pulled next/headers and server-only into the client
bundle, causing the Next.js 16 build to fail.
Replaced direct imports with fetch() calls to new API route handlers
at /api/auth/{login,register,session,logout}.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>