Fix DeArrow patch
This commit is contained in:
parent
2e04b3d1ef
commit
fdf3480b27
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ export default definePlugin({
|
||||||
replacement: [
|
replacement: [
|
||||||
// patch componentDidMount to replace embed thumbnail and title
|
// patch componentDidMount to replace embed thumbnail and title
|
||||||
{
|
{
|
||||||
match: /render\(\)\{let\{embed:/,
|
match: /render\(\)\{.{0,30}let\{embed:/,
|
||||||
replace: "componentDidMount=$self.embedDidMount;$&"
|
replace: "componentDidMount=$self.embedDidMount;$&"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue