remove unnecessary state update
This commit is contained in:
@@ -2900,9 +2900,7 @@ class InfoView extends React.Component {
|
|||||||
|
|
||||||
if (topic.getType() === "grp" && acs && acs.isOwner()) {
|
if (topic.getType() === "grp" && acs && acs.isOwner()) {
|
||||||
// Requesting tags: owner is editing the topic.
|
// Requesting tags: owner is editing the topic.
|
||||||
topic.getMeta(topic.startMetaQuery().withTags().build()).then(() => {
|
topic.getMeta(topic.startMetaQuery().withTags().build());
|
||||||
this.setState({tags: topic.tags()});
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user