diff options
author | Hugo C <lumap@duck.com> | 2023-07-26 02:33:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 00:33:00 +0000 |
commit | 1d77ab0adec64e33f48f0de38ab50198b1772e6a (patch) | |
tree | c783d1c1492b7072e0e1fcec4b2c2d7171db6f8c /src/plugins | |
parent | 9268cf3ffb81e53bae01138634f93ec738d72bbb (diff) | |
download | Vencord-1d77ab0adec64e33f48f0de38ab50198b1772e6a.tar.gz Vencord-1d77ab0adec64e33f48f0de38ab50198b1772e6a.tar.bz2 Vencord-1d77ab0adec64e33f48f0de38ab50198b1772e6a.zip |
MemberCount: fix family center crash (#1486)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/memberCount.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/memberCount.tsx b/src/plugins/memberCount.tsx index 78c10de..f037d74 100644 --- a/src/plugins/memberCount.tsx +++ b/src/plugins/memberCount.tsx @@ -106,7 +106,7 @@ export default definePlugin({ find: ".isSidebarVisible,", replacement: { match: /(var (\i)=\i\.className.+?children):\[(\i\.useMemo[^}]+"aria-multiselectable")/, - replace: "$1:[$2.startsWith('members')?$self.render():null,$3" + replace: "$1:[$2?.startsWith('members')?$self.render():null,$3" } }], |