From c5e1aa1f2f23c97f89a27d5859ef4e35b5a04ac4 Mon Sep 17 00:00:00 2001 From: Apostolof Date: Sat, 14 Nov 2020 20:15:46 +0200 Subject: [PATCH] Fix lint errors --- .../concordia-app/src/views/Topic/TopicCreate/index.jsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/concordia-app/src/views/Topic/TopicCreate/index.jsx b/packages/concordia-app/src/views/Topic/TopicCreate/index.jsx index 6b26c4a..4df7a2e 100644 --- a/packages/concordia-app/src/views/Topic/TopicCreate/index.jsx +++ b/packages/concordia-app/src/views/Topic/TopicCreate/index.jsx @@ -81,9 +81,7 @@ const TopicCreate = (props) => { }); } } - }, [ - transactions, transactionStack, history, posting, createTopicCacheSendStackId, subjectInput, messageInput, stores, - ]); + }, [createTopicCacheSendStackId, history, messageInput, posting, subjectInput, transactionStack, transactions]); const validateAndPost = useCallback(() => { if (subjectInput === '') { @@ -98,7 +96,7 @@ const TopicCreate = (props) => { setPosting(true); setCreateTopicCacheSendStackId(createTopic.cacheSend(...[], { from: account })); - }, [account, createTopic, messageInput, subjectInput]); + }, [account, messageInput, subjectInput]); return (