remove unnecessary state update

This commit is contained in:
or-else
2018-08-18 09:03:42 +03:00
parent fde40f4f51
commit e22a4de007
+1 -3
View File
@@ -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());
}
}