diff --git a/src/plugins/accountPanelServerProfile/index.tsx b/src/plugins/accountPanelServerProfile/index.tsx index c347cc982..d9fc9de16 100644 --- a/src/plugins/accountPanelServerProfile/index.tsx +++ b/src/plugins/accountPanelServerProfile/index.tsx @@ -73,7 +73,7 @@ export default definePlugin({ group: true, replacement: [ { - match: /(?<=\.AVATAR_SIZE\);)/, + match: /(?<=\.AVATAR_SIZE\).{0,100};)(?=return)/, replace: "$self.useAccountPanelRef();" }, {