24 lines
655 B
JavaScript
24 lines
655 B
JavaScript
'use client';
|
|
|
|
import RegisterPage from '@/components/register';
|
|
import SetCodePage from '@/components/register/SetCodePage';
|
|
import SignInPage from '@/components/register/SignInPage';
|
|
import { useState } from 'react';
|
|
|
|
function LoginVerify() {
|
|
|
|
const [isSendMsg, setIsSendMsg] = useState(false);
|
|
|
|
return (
|
|
<RegisterPage>
|
|
{isSendMsg ?
|
|
<SetCodePage
|
|
setIsSendMsg={setIsSendMsg}
|
|
link={`/account/${localStorage.getItem('doctor-id')}`}
|
|
/> :
|
|
<SignInPage setIsSendMsg={setIsSendMsg} />}
|
|
</RegisterPage>
|
|
)
|
|
}
|
|
|
|
export default LoginVerify |