1
Fork 0

Fix incorrect deps

This commit is contained in:
Steffo 2024-11-28 00:50:22 +01:00
parent 6f1df9da44
commit 5b1bf64a52
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ export default function Page() {
</div>
</div>
)
}, [resultsData, resultsError])
}, [userName, resultsData, resultsError])
return <>
<main>

View file

@ -97,7 +97,7 @@ export default function Page() {
</form>
</div>
)
}, [onSubmit, opponent, result])
}, [onSubmit, userName, opponent, result])
return <>
<main>