Browse Source

Fix lint errors

develop
Apostolos Fanakis 4 years ago
parent
commit
c5e1aa1f2f
  1. 6
      packages/concordia-app/src/views/Topic/TopicCreate/index.jsx

6
packages/concordia-app/src/views/Topic/TopicCreate/index.jsx

@ -81,9 +81,7 @@ const TopicCreate = (props) => {
}); });
} }
} }
}, [ }, [createTopicCacheSendStackId, history, messageInput, posting, subjectInput, transactionStack, transactions]);
transactions, transactionStack, history, posting, createTopicCacheSendStackId, subjectInput, messageInput, stores,
]);
const validateAndPost = useCallback(() => { const validateAndPost = useCallback(() => {
if (subjectInput === '') { if (subjectInput === '') {
@ -98,7 +96,7 @@ const TopicCreate = (props) => {
setPosting(true); setPosting(true);
setCreateTopicCacheSendStackId(createTopic.cacheSend(...[], { from: account })); setCreateTopicCacheSendStackId(createTopic.cacheSend(...[], { from: account }));
}, [account, createTopic, messageInput, subjectInput]); }, [account, messageInput, subjectInput]);
return ( return (
<Container> <Container>

Loading…
Cancel
Save