From a86452e7747e5982d488a04071579b732ac4cb75 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 11 Nov 2022 18:58:30 +0100 Subject: fix react hook error --- src/plugins/pronoundb/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/pronoundb/index.ts') 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})`; } } }, -- cgit