1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-26 17:26:22 +00:00

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: [ 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;$&"
}, },