From 464c4a9b614a93443575acfd160388d3eb09cb2f Mon Sep 17 00:00:00 2001 From: sadan4 <117494111+sadan4@users.noreply.github.com> Date: Tue, 10 Dec 2024 23:06:34 -0500 Subject: [PATCH] TypingTweaks: Fix usernames not being colored (#3070) --- src/plugins/typingTweaks/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/typingTweaks/index.tsx b/src/plugins/typingTweaks/index.tsx index 026cd527..9e6459ab 100644 --- a/src/plugins/typingTweaks/index.tsx +++ b/src/plugins/typingTweaks/index.tsx @@ -125,7 +125,7 @@ export default definePlugin({ buildSeveralUsers, - mutateChildren(props: any, users: User[], children: any) { + mutateChildren(guildId: any, users: User[], children: any) { try { if (!Array.isArray(children)) { return children; @@ -135,7 +135,7 @@ export default definePlugin({ return children.map(c => c.type === "strong" || (typeof c !== "string" && !React.isValidElement(c)) - ? + ? : c ); } catch (e) {