mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-25 08:46:25 +00:00
BetterFolders: Fix component erroring
This commit is contained in:
parent
0c794e190c
commit
c617a663ae
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ export default definePlugin({
|
|||
makeGuildsBarTreeFilter(isBetterFolders: boolean) {
|
||||
return child => {
|
||||
if (isBetterFolders) {
|
||||
return "onScroll" in child.props;
|
||||
return child?.props?.onScroll != null;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue