aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/betterFolders
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-06-22 22:35:59 +0200
committerV <vendicated@riseup.net>2023-06-22 22:35:59 +0200
commit5a0e5018297e83877a8db7b323d3c265b7663393 (patch)
treeed852335a36f75c6ae05bf01fda1caf358e5aa42 /src/plugins/betterFolders
parent92113da7c0d89c595310d79fdcdfc657b21a2ad5 (diff)
downloadVencord-5a0e5018297e83877a8db7b323d3c265b7663393.tar.gz
Vencord-5a0e5018297e83877a8db7b323d3c265b7663393.tar.bz2
Vencord-5a0e5018297e83877a8db7b323d3c265b7663393.zip
Fix ValidUser, BetterFolders & MutualGroupDms
Co-authored-by: Juby210 <31005896+Juby210@users.noreply.github.com> Co-authored-by: Amia <9750071+aamiaa@users.noreply.github.com>
Diffstat (limited to 'src/plugins/betterFolders')
-rw-r--r--src/plugins/betterFolders/FolderSideBar.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/betterFolders/FolderSideBar.tsx b/src/plugins/betterFolders/FolderSideBar.tsx
index 7159f7e..6353a97 100644
--- a/src/plugins/betterFolders/FolderSideBar.tsx
+++ b/src/plugins/betterFolders/FolderSideBar.tsx
@@ -36,7 +36,8 @@ function Guilds(props: {
// @ts-expect-error
const res = Vencord.Plugins.plugins.BetterFolders.Guilds(props);
- const scrollerProps = res.props.children?.props?.children?.[1]?.props;
+ // TODO: Make this better
+ const scrollerProps = res.props.children?.props?.children?.props?.children?.[1]?.props;
if (scrollerProps?.children) {
const servers = scrollerProps.children.find(c => c?.props?.["aria-label"] === i18n.Messages.SERVERS);
if (servers) scrollerProps.children = servers;