GifPaste: Fix plugin not working

This commit is contained in:
Nuckyz 2026-09-15 21:57:07 -03:00
parent f525b0cca7
commit 27c459312a
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -30,7 +30,7 @@ export default definePlugin({
patches: [{
find: "handleSelectGIF=",
replacement: {
match: /handleSelectGIF=(\i)=>\{/,
match: /handleSelectGIF=\((\i),\i\)=>\{/,
replace: "$&if (!this?.props?.className) return $self.handleSelect($1);"
}
}],