fix: auto-refresh

This commit is contained in:
Elie Baier 2023-12-20 10:52:09 +01:00
parent b47b59f4cd
commit 7c89ca8338
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ export default function Page({ params }: { params: { id: string } }) {
useEffect(() => {
featchResults(testId);
setTimeout(() => {
setInterval(() => {
featchResults(testId);
}, 5000);
}, [testId]);