From 4f755fb3b4ff57bf0538f86f519b473a6974e300 Mon Sep 17 00:00:00 2001 From: shinya Date: Mon, 23 Jun 2025 23:01:54 +0800 Subject: [PATCH] fix: login build error --- src/app/login/page.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index d148440..a23cfa6 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -1,9 +1,9 @@ 'use client'; import { useRouter, useSearchParams } from 'next/navigation'; -import { useState } from 'react'; +import { Suspense, useState } from 'react'; -export default function LoginPage() { +function LoginPageClient() { const router = useRouter(); const searchParams = useSearchParams(); const [password, setPassword] = useState(''); @@ -79,3 +79,11 @@ export default function LoginPage() { ); } + +export default function LoginPage() { + return ( + + + + ); +}