GifPaste: Fix plugin not working
This commit is contained in:
parent
f525b0cca7
commit
27c459312a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);"
|
||||
}
|
||||
}],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue