Fix incorrect deps
This commit is contained in:
parent
6f1df9da44
commit
5b1bf64a52
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ export default function Page() {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}, [resultsData, resultsError])
|
}, [userName, resultsData, resultsError])
|
||||||
|
|
||||||
return <>
|
return <>
|
||||||
<main>
|
<main>
|
||||||
|
|
|
@ -97,7 +97,7 @@ export default function Page() {
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}, [onSubmit, opponent, result])
|
}, [onSubmit, userName, opponent, result])
|
||||||
|
|
||||||
return <>
|
return <>
|
||||||
<main>
|
<main>
|
||||||
|
|
Loading…
Reference in a new issue