Fix DeArrow patch

This commit is contained in:
Nuckyz 2023-12-20 01:33:40 -03:00 committed by Luna
parent 950ba4ddd2
commit de76f8df76

View file

@ -147,7 +147,7 @@ export default definePlugin({
replacement: [
// patch componentDidMount to replace embed thumbnail and title
{
match: /render\(\)\{let\{embed:/,
match: /render\(\)\{.{0,30}let\{embed:/,
replace: "componentDidMount=$self.embedDidMount;$&"
},