refactor: reuse AuthForm in ChooseUsernamePage

This commit is contained in:
Lin, Hung-Shin committed 2023-10-13 17:21:10 +08:00
1 parent c5ccf03ac5
commit 5c7acd88ca
5 files changed
+77 -101

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ const handleLogin = async ({ username, password, success, error }) => {
class="h-screen w-screen absolute top-0 left-0 flex flex-wrap justify-center content-center"
>
<div class="h-2/3 w-1/3">
<AuthForm @onSubmit="handleLogin" :isRegister="false" />
<AuthForm @onSubmit="handleLogin" type="login" />
</div>
</div>
</div>