diff options
Diffstat (limited to 'src/plugins/betterFolders/FolderSideBar.tsx')
-rw-r--r-- | src/plugins/betterFolders/FolderSideBar.tsx | 3 |
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; |