Update useCreate.hook.js

This commit is contained in:
Pierre Balzack 2022-12-19 22:57:05 -08:00 committed by GitHub
parent 22356b28b4
commit c5d2296f4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,7 +126,7 @@ export function useCreate() {
backoff.current = false;
checking.current = false;
if (retry) {
setCount(count++);
setCount(count+1);
}
else {
updateState({ usernameChecked: true, tokenChecked: true, serverChecked: true });