diff --git a/src/app/(authed)/admin/answer/[answerId]/page.tsx b/src/app/(authed)/admin/answer/[answerId]/page.tsx index ad3a4045..a3ae39ad 100644 --- a/src/app/(authed)/admin/answer/[answerId]/page.tsx +++ b/src/app/(authed)/admin/answer/[answerId]/page.tsx @@ -17,7 +17,7 @@ import type { Either } from 'fp-ts/lib/Either'; const Home = ({ params }: { params: { answerId: number } }) => { const { data: answers, isLoading: isAnswersLoading } = useSWR< Either - >(`/api/answers/${params.answerId}`); + >(`/api/answers/${params.answerId}`, { refreshInterval: 1000 }); const { data: formQuestions, isLoading: isFormQuestionsLoading } = useSWR< Either