forked from noxious/client
Fixed registration button causing form to submit resulting in a login and thus showing error twice
This commit is contained in:
parent
8eddfdcc69
commit
98c6266046
@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<div class="row-buttons">
|
||||
<button class="button btn-purple" type="submit"><span>LOGIN</span></button>
|
||||
<button class="button btn-purple" @click="registerFunc"><span>REGISTER</span></button>
|
||||
<button class="button btn-purple" type="button" @click.prevent="registerFunc"><span>REGISTER</span></button>
|
||||
<button class="button btn-purple"><span>CREDITS</span></button>
|
||||
</div>
|
||||
</div>
|
||||
@ -39,7 +39,6 @@ if (bgm.value.paused) {
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const notifications = useNotificationStore()
|
||||
const socket = useSocketStore()
|
||||
const username = ref('')
|
||||
const password = ref('')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user