mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 11:30:12 +08:00
refactor: reuse AuthForm in ChooseUsernamePage
This commit is contained in:
1 parent
c5ccf03ac5
commit
5c7acd88ca
5 files changed
+77
-101
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user