Canary Fixes

This commit is contained in:
thororen1234 2024-11-03 03:15:59 -05:00
parent bfda6a5c26
commit 109a1508b6
27 changed files with 43 additions and 43 deletions

View file

@ -77,7 +77,7 @@ export default definePlugin({
find: '("guildsnav")',
replacement: [
{
match: /(?<=Messages\.SERVERS,children:.{0,300}?)(\i)(\)?\.map\(\i\))/,
match: /(?<=onActivate.{0,100},children:.{0,300}?)(\i)(\)?\.map\(\i\))/,
replace: "$self.useFilteredGuilds($1)$2",
},
// despite my best efforts, the above doesnt trigger a rerender
@ -88,7 +88,7 @@ export default definePlugin({
]
},
{
find: "QUICKSWITCHER_PROTIP.format",
find: '"quick-switcher-".concat',
replacement: {
match: /(?<=renderResults\(\){)let{query/,
replace: "this.props.results = $self.filteredGuildResults(this.props.results);$&",