page set code

This commit is contained in:
Ehsan
2024-06-24 03:56:29 +03:30
parent 2e561762fa
commit 4fbef73d00
6 changed files with 106 additions and 12 deletions
+3 -3
View File
@@ -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>
)