FEAT: BorderSpeed Up on Login

This commit is contained in:
EvanLin3141
2025-01-29 23:20:23 +00:00
parent 06234bcac2
commit 92f691b6bd
4 changed files with 13 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ const AuthModal: React.FC<AuthModalProps> = ({ onClose }) => {
setTimeout(() => {
setSpinDuration("7s");
}, 5000);
}, 3500);
};
return (
@@ -63,7 +63,7 @@ const AuthModal: React.FC<AuthModalProps> = ({ onClose }) => {
Register
</ToggleButton>
</div>
{selectedTab === "Login" ? <LoginForm /> : <RegisterForm onSubmit={handleSubmit}/>}
{selectedTab === "Login" ? <LoginForm onSubmit={handleSubmit} /> : <RegisterForm onSubmit={handleSubmit}/>}
</div>
</div>
</>