diff options
author | V <vendicated@riseup.net> | 2023-06-30 15:39:33 +0200 |
---|---|---|
committer | V <vendicated@riseup.net> | 2023-06-30 15:39:33 +0200 |
commit | 13bde79ec8c78a471eb9cf3e6e58f404e8f1bd1f (patch) | |
tree | 97b083f36611449ddc9e273c0702f1edbcc190b0 /src/plugins/pronoundb/components/PronounsChatComponent.tsx | |
parent | b592defaaf5f92c942b6c2dc3f39c4761a823ca3 (diff) | |
download | Vencord-13bde79ec8c78a471eb9cf3e6e58f404e8f1bd1f.tar.gz Vencord-13bde79ec8c78a471eb9cf3e6e58f404e8f1bd1f.tar.bz2 Vencord-13bde79ec8c78a471eb9cf3e6e58f404e8f1bd1f.zip |
PronounDB: Fix profile patch, add pronoun source to tooltip
Diffstat (limited to 'src/plugins/pronoundb/components/PronounsChatComponent.tsx')
-rw-r--r-- | src/plugins/pronoundb/components/PronounsChatComponent.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/pronoundb/components/PronounsChatComponent.tsx b/src/plugins/pronoundb/components/PronounsChatComponent.tsx index 3e51544..97d2494 100644 --- a/src/plugins/pronoundb/components/PronounsChatComponent.tsx +++ b/src/plugins/pronoundb/components/PronounsChatComponent.tsx @@ -52,7 +52,7 @@ export function CompactPronounsChatComponentWrapper({ message }: { message: Mess } function PronounsChatComponent({ message }: { message: Message; }) { - const result = useFormattedPronouns(message.author.id); + const [result] = useFormattedPronouns(message.author.id); return result ? ( @@ -64,7 +64,7 @@ function PronounsChatComponent({ message }: { message: Message; }) { } export function CompactPronounsChatComponent({ message }: { message: Message; }) { - const result = useFormattedPronouns(message.author.id); + const [result] = useFormattedPronouns(message.author.id); return result ? ( |