page set code
This commit is contained in:
+3
-3
@@ -6,14 +6,14 @@ import { useState } from 'react';
|
||||
|
||||
function SignIn() {
|
||||
|
||||
const [isSendMsg, setIsSendMsg] = useState(false);
|
||||
const [isSendMsg, setIsSendMsg] = useState(true);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<RegisterPage>
|
||||
{isSendMsg ?
|
||||
<SetCodePage /> :
|
||||
<SignInPage />}
|
||||
<SetCodePage setIsSendMsg={setIsSendMsg} /> :
|
||||
<SignInPage setIsSendMsg={setIsSendMsg} />}
|
||||
</RegisterPage>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user