aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/settings.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/settings.tsx')
-rw-r--r--src/plugins/settings.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/settings.tsx b/src/plugins/settings.tsx
index e5afbbc..183798a 100644
--- a/src/plugins/settings.tsx
+++ b/src/plugins/settings.tsx
@@ -32,10 +32,10 @@ export default definePlugin({
authors: [Devs.Ven, Devs.Megu],
required: true,
patches: [{
- find: "().versionHash",
+ find: ".versionHash",
replacement: [
{
- match: /\[\(0,.{1,3}\.jsxs?\)\((.{1,10}),(\{[^{}}]+\{.{0,20}\(\)\.versionHash,.+?\})\)," "/,
+ match: /\[\(0,.{1,3}\.jsxs?\)\((.{1,10}),(\{[^{}}]+\{.{0,20}.versionHash,.+?\})\)," "/,
replace: (m, component, props) => {
props = props.replace(/children:\[.+\]/, "");
return `${m},Vencord.Plugins.plugins.Settings.makeInfoElements(${component}, ${props})`;