From e22a4de007c288864e067acaf456352099a9e3de Mon Sep 17 00:00:00 2001 From: or-else Date: Sat, 18 Aug 2018 09:03:42 +0300 Subject: [PATCH] remove unnecessary state update --- index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.js b/index.js index 38aa8420..281841ae 100644 --- a/index.js +++ b/index.js @@ -2900,9 +2900,7 @@ class InfoView extends React.Component { if (topic.getType() === "grp" && acs && acs.isOwner()) { // Requesting tags: owner is editing the topic. - topic.getMeta(topic.startMetaQuery().withTags().build()).then(() => { - this.setState({tags: topic.tags()}); - }); + topic.getMeta(topic.startMetaQuery().withTags().build()); } }