From 8545ff355149ce7523a54c562590fdeb37438ec0 Mon Sep 17 00:00:00 2001 From: apostolof Date: Sun, 28 Feb 2021 13:53:52 +0200 Subject: [PATCH] refactor: break it on purpose --- packages/concordia-app/src/views/Topic/TopicView/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/concordia-app/src/views/Topic/TopicView/index.jsx b/packages/concordia-app/src/views/Topic/TopicView/index.jsx index f77715a..9597984 100644 --- a/packages/concordia-app/src/views/Topic/TopicView/index.jsx +++ b/packages/concordia-app/src/views/Topic/TopicView/index.jsx @@ -111,7 +111,7 @@ const TopicView = (props) => { if (topicFound) { setTopicSubject(topicFound[TOPIC_SUBJECT]); } - }, [topicId, topics]); + }, [topicId]); const stopClickPropagation = (event) => { event.stopPropagation();