From d8357c995930fde2578a9ad6e1732c41fef50221 Mon Sep 17 00:00:00 2001 From: TryAllTheThings Date: Sat, 26 Nov 2022 14:37:48 +0100 Subject: [PATCH] Fix: Every other instance of invoked clsx hence adding it here as well. --- client/templates/Gengar/widgets/Masthead.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/templates/Gengar/widgets/Masthead.tsx b/client/templates/Gengar/widgets/Masthead.tsx index 8b41edc8..90af0dc9 100644 --- a/client/templates/Gengar/widgets/Masthead.tsx +++ b/client/templates/Gengar/widgets/Masthead.tsx @@ -83,7 +83,7 @@ export const MastheadSidebar: React.FC = () => { icon={getProfileIcon(network)} link={url && addHttp(url)} className="!gap-2 text-xs" - textClassName="invert" + textClassName={clsx({ invert: contrast === 'light' })} > {username}