diff options
author | Vendicated <vendicated@riseup.net> | 2022-11-11 18:58:30 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-11-11 18:58:30 +0100 |
commit | a86452e7747e5982d488a04071579b732ac4cb75 (patch) | |
tree | 219d0045dcc7093ebfc46f475f3be81cbe0976b5 /src/plugins/pronoundb/index.ts | |
parent | dddb28192c0c6ed39a7726a5a37a9ef3c817023c (diff) | |
download | Vencord-a86452e7747e5982d488a04071579b732ac4cb75.tar.gz Vencord-a86452e7747e5982d488a04071579b732ac4cb75.tar.bz2 Vencord-a86452e7747e5982d488a04071579b732ac4cb75.zip |
fix react hook error
Diffstat (limited to 'src/plugins/pronoundb/index.ts')
-rw-r--r-- | src/plugins/pronoundb/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pronoundb/index.ts b/src/plugins/pronoundb/index.ts index 499a73a..802ede9 100644 --- a/src/plugins/pronoundb/index.ts +++ b/src/plugins/pronoundb/index.ts @@ -53,7 +53,7 @@ export default definePlugin({ // UserSettings if (pronounProps.includes("onPronounsChange")) return original; - return `Vencord.Plugins.plugins.PronounDB.PronounsProfileWrapper(${PronounComponent}, ${pronounProps}, ${fullProps})`; + return `${fullProps}&&Vencord.Plugins.plugins.PronounDB.PronounsProfileWrapper(${PronounComponent}, ${pronounProps}, ${fullProps})`; } } }, |