From 22786a45b6acbea716f617a6b508dd76aa727e1a Mon Sep 17 00:00:00 2001 From: OGreeni Date: Wed, 22 May 2024 13:18:27 -0400 Subject: [PATCH] fix build err --- .idea/workspace.xml | 5 ++--- frontend/src/app/auth/admin/forgot-password/page.tsx | 12 ++++++++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 3574d31..a68b50b 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -6,8 +6,7 @@ - - + diff --git a/frontend/src/app/auth/admin/forgot-password/page.tsx b/frontend/src/app/auth/admin/forgot-password/page.tsx index 8a49a0f..51f1946 100644 --- a/frontend/src/app/auth/admin/forgot-password/page.tsx +++ b/frontend/src/app/auth/admin/forgot-password/page.tsx @@ -1,5 +1,5 @@ 'use client'; -import { FC, FormEventHandler, useEffect, useState } from 'react'; +import { FC, FormEventHandler, Suspense, useEffect, useState } from 'react'; import Image from 'next/image'; import { TextInput } from '@/components/core/TextInput'; import { Button } from '@/components/core/Button'; @@ -11,7 +11,7 @@ import { cookies } from 'next/headers'; interface PageProps {} -const Page: FC = () => { +function Content() { const [emailInput, setEmailInput] = useState(''); const [passwordInput, setPasswordInput] = useState(''); const [confirmPasswordInput, setConfirmPasswordInput] = useState(''); @@ -122,6 +122,14 @@ const Page: FC = () => { ); +} + +const Page: FC = () => { + return ( + + + + ); }; export default Page;