BetterFolders: Fix component erroring
This commit is contained in:
parent
449f95500a
commit
6ad17ff7e7
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ export default definePlugin({
|
||||||
makeGuildsBarTreeFilter(isBetterFolders: boolean) {
|
makeGuildsBarTreeFilter(isBetterFolders: boolean) {
|
||||||
return child => {
|
return child => {
|
||||||
if (isBetterFolders) {
|
if (isBetterFolders) {
|
||||||
return "onScroll" in child.props;
|
return child?.props?.onScroll != null;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue