Skip to content

Commit

Permalink
πŸ› fix: nickname suggestion retriggering twice
Browse files Browse the repository at this point in the history
  • Loading branch information
rezk2ll committed Jun 10, 2024
1 parent 6504753 commit 64f806d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@
checkNicknameForm.requestSubmit();
};
$: console.log({ nickName , nickNamechecked, nickNameTaken })
</script>

<form
Expand Down Expand Up @@ -112,7 +114,6 @@
label={$t('Matrix ID/Email')}
bind:value={nickName}
isInValid={!createUserFormSchema.safeParse({ nickName }).success || nickNameTaken}
onBlur={checkNickName}
feedback={validNickName}
onInput={invalidateNickNameCheck}
{loading}
Expand Down

0 comments on commit 64f806d

Please sign in to comment.