diff --git a/src/plugins/decor/index.tsx b/src/plugins/decor/index.tsx index 85b34f403..68a96ceae 100644 --- a/src/plugins/decor/index.tsx +++ b/src/plugins/decor/index.tsx @@ -76,7 +76,7 @@ export default definePlugin({ // Use added hook { match: /(?<={avatarDecoration:).{1,20}?(?=,)(?<=avatarDecorationOverride:(\i).+?)/, - replace: "vcDecorAvatarDecoration??($&)" + replace: "$1??vcDecorAvatarDecoration??($&)" }, // Make memo depend on added hook {