diff --git a/holycow_frontend/src/app/page.tsx b/holycow_frontend/src/app/page.tsx index 6e8bd99..21eb6aa 100644 --- a/holycow_frontend/src/app/page.tsx +++ b/holycow_frontend/src/app/page.tsx @@ -73,7 +73,7 @@ export default function Page() { ) - }, [resultsData, resultsError]) + }, [userName, resultsData, resultsError]) return <>
diff --git a/holycow_frontend/src/app/report/page.tsx b/holycow_frontend/src/app/report/page.tsx index 7856adf..a0518d1 100644 --- a/holycow_frontend/src/app/report/page.tsx +++ b/holycow_frontend/src/app/report/page.tsx @@ -97,7 +97,7 @@ export default function Page() { ) - }, [onSubmit, opponent, result]) + }, [onSubmit, userName, opponent, result]) return <>