add prettier formatter to all file
This commit is contained in:
+19
-18
@@ -1,24 +1,25 @@
|
||||
'use client';
|
||||
"use client";
|
||||
|
||||
import RegisterPage from '@/components/register';
|
||||
import SetCodePage from '@/components/register/SetCodePage';
|
||||
import LogInPage from '@/components/register/LogInPage';
|
||||
import { useState } from 'react';
|
||||
import RegisterPage from "@/components/register";
|
||||
import SetCodePage from "@/components/register/SetCodePage";
|
||||
import LogInPage from "@/components/register/LogInPage";
|
||||
import { useState } from "react";
|
||||
|
||||
function LoginVerify() {
|
||||
const [isSendMsg, setIsSendMsg] = useState(false);
|
||||
|
||||
const [isSendMsg, setIsSendMsg] = useState(false);
|
||||
|
||||
return (
|
||||
<RegisterPage>
|
||||
{isSendMsg ?
|
||||
<SetCodePage
|
||||
setIsSendMsg={setIsSendMsg}
|
||||
link={`/account/${localStorage.getItem('doctor-id')}`}
|
||||
/> :
|
||||
<LogInPage setIsSendMsg={setIsSendMsg} />}
|
||||
</RegisterPage>
|
||||
)
|
||||
return (
|
||||
<RegisterPage>
|
||||
{isSendMsg ? (
|
||||
<SetCodePage
|
||||
setIsSendMsg={setIsSendMsg}
|
||||
link={`/account/${localStorage.getItem("doctor-id")}`}
|
||||
/>
|
||||
) : (
|
||||
<LogInPage setIsSendMsg={setIsSendMsg} />
|
||||
)}
|
||||
</RegisterPage>
|
||||
);
|
||||
}
|
||||
|
||||
export default LoginVerify
|
||||
export default LoginVerify;
|
||||
|
||||
Reference in New Issue
Block a user