mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-30 19:23:29 -05:00
HideServers: fix regex (#105)
they are trialing two very similar server lists now it looks like
This commit is contained in:
parent
ac828b2340
commit
3d2162650b
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ export default definePlugin({
|
||||||
find: '("guildsnav")',
|
find: '("guildsnav")',
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
match: /(?<=#{intl::SERVERS}\),children:.{0,300}?)(\i)(\)?\.map\(\i\))/,
|
match: /(?<=#{intl::SERVERS}\),children:.{0,300}?)(\i)(\)?\.map\(\i\))/g,
|
||||||
replace: "$self.useFilteredGuilds($1)$2",
|
replace: "$self.useFilteredGuilds($1)$2",
|
||||||
},
|
},
|
||||||
// despite my best efforts, the above doesnt trigger a rerender
|
// despite my best efforts, the above doesnt trigger a rerender
|
||||||
|
|
Loading…
Reference in a new issue