Skip to content

Commit

Permalink
🐛 Stop propagation on verify member code
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpiac committed Oct 15, 2023
1 parent 8dc4ace commit f30a349
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions frontend/src/routes/register/verify/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
const handleValidation = async (e: Event) => {
e.preventDefault();
e.stopPropagation();
const res = await validate();
if (!res.valid) {
Expand Down Expand Up @@ -88,13 +89,8 @@
placeholder="Verification code" />
<div class="my-5" />
<div class="w-full">
<Button
loading={submitting}
submit
type="primary"
fullWidth
center
on:click={handleValidation}>Verify code</Button>
<Button loading={submitting} submit type="primary" fullWidth center
>Verify code</Button>
</div>
</form>

Expand Down

0 comments on commit f30a349

Please sign in to comment.