fix typos
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<img class="rounded-none sm:rounded-2xl sm:w-full mr-8" src="/images/hutopymedia/loginpage/loginhutopy.png" alt="hutopy login">
|
||||
</div>
|
||||
<div class="flex flex-col items-center min-w-[300px] m-12">
|
||||
<LoginForm :onSuccess="handleSuccess"></LoginForm>
|
||||
<login-form :onSuccess="handleSuccess"></login-form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -20,7 +20,7 @@ import { useRouter } from 'vue-router';
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
const handleSuccess = () => {
|
||||
router.push('/');
|
||||
const handleSuccess = async () => {
|
||||
await router.push('/')
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user