gif paste: fix patch

This commit is contained in:
sadan 2026-02-04 17:45:03 -05:00
parent 60088fe006
commit 0dd61ccd30
No known key found for this signature in database

View file

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