Update ServerFolders.plugin.js

This commit is contained in:
Mirco Wittrien 2022-12-01 17:30:03 +01:00
parent 5b289383bf
commit 00720413c0
1 changed files with 0 additions and 1 deletions

View File

@ -91,7 +91,6 @@ module.exports = (_ => {
this.props.folders = folders.length || closing ? folders : (this.props.folders || []);
BDFDB.TimeUtils.clear(this._rerenderTimeout);
if (!GuildItemWrapperComponent && folders.length || !folders.length && this.props.folders.length && !closing) this._rerenderTimeout = BDFDB.TimeUtils.timeout(_ => {
console.log("rerender");
this.props.closing = true;
BDFDB.ReactUtils.forceUpdate(this);
}, 300);