Fix HideServers

This commit is contained in:
thororen1234 2025-02-08 20:47:28 -05:00
parent f80a236288
commit 2b8b022a64

View file

@ -77,7 +77,7 @@ export default definePlugin({
find: '("guildsnav")',
replacement: [
{
match: /(?<=#{intl::SERVERS}\),children:.*?)(\i)(\)?\.map\(\i\))/g,
match: /(?<=#{intl::SERVERS}\),children:)(\i)(\)?\.map\(\i\))/g,
replace: "$self.useFilteredGuilds($1)$2",
},
// despite my best efforts, the above doesnt trigger a rerender