aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-01-07 03:49:43 +0100
committerVendicated <vendicated@riseup.net>2023-01-07 03:49:43 +0100
commit5a3fbbfb306a4a6239eac3fad37be07b3e530ba0 (patch)
tree5d0ba8e6140be33689015d7bd04db0a0877718b9 /src
parentcc51f6e2d238911285d63ab680af6a8c3d7c5e43 (diff)
downloadVencord-5a3fbbfb306a4a6239eac3fad37be07b3e530ba0.tar.gz
Vencord-5a3fbbfb306a4a6239eac3fad37be07b3e530ba0.tar.bz2
Vencord-5a3fbbfb306a4a6239eac3fad37be07b3e530ba0.zip
unscuff profiles
Diffstat (limited to 'src')
-rw-r--r--src/plugins/apiBadges.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/apiBadges.tsx b/src/plugins/apiBadges.tsx
index 72c19f3..d14678c 100644
--- a/src/plugins/apiBadges.tsx
+++ b/src/plugins/apiBadges.tsx
@@ -73,7 +73,7 @@ export default definePlugin({
replace: (_, imageMap, badge) => `src: ${badge}.image ?? ${imageMap}[${badge}.key], ...${badge}.props,`
},
{
- match: /spacing:(\d{1,2}),children:(.{1,40}(.{1,2})\.jsx.+(.{1,2})\.onClick.+\)})},/,
+ match: /spacing:(\d{1,2}),children:(.{1,40}(.{1,2})\.jsx.+?(.{1,2})\.onClick.+?\)})},/,
// if the badge provides it's own component, render that instead of an image
// the badge also includes info about the user that has it (type BadgeUserArgs), which is why it's passed as props
replace: (_, s, origBadgeComponent, React, badge) =>