Fix Dearrow

This commit is contained in:
Vendicated 2023-10-25 19:33:39 +02:00
parent c3ccbbfa99
commit aa2a57b733
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -147,8 +147,8 @@ export default definePlugin({
replacement: [
// patch componentDidMount to replace embed thumbnail and title
{
match: /(\i).render=function.{0,50}\i\.embed/,
replace: "$1.componentDidMount=$self.embedDidMount,$&"
match: /render\(\)\{let\{embed:/,
replace: "componentDidMount=$self.embedDidMount;$&"
},
// add dearrow button