diff --git a/web/src/components/questions/Questions.jsx b/web/src/components/questions/Questions.jsx index a4ca87d02f..2b5e48e505 100644 --- a/web/src/components/questions/Questions.jsx +++ b/web/src/components/questions/Questions.jsx @@ -45,7 +45,9 @@ export default function Questions() { removeQuestion(question.id); }, [client.questions, removeQuestion]); - useEffect(() => client.questions.listenQuestions(), [client.questions, cancellablePromise]); + useEffect(() => { + client.questions.listenQuestions(); + }, [client.questions, cancellablePromise]); useEffect(() => { cancellablePromise(client.questions.getQuestions())