From 9b06e4dc043067fcebb1f27958b436b95c2bc6d7 Mon Sep 17 00:00:00 2001 From: Mayank Date: Thu, 27 Jun 2024 19:27:30 +0530 Subject: [PATCH] touch up --- lib/src/client/color-switch/color-switch.tsx | 3 +-- lib/src/client/theme-switcher/no-fouc.ts | 8 ++++++++ lib/src/client/theme-switcher/theme-switcher.tsx | 15 ++++++++++----- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/lib/src/client/color-switch/color-switch.tsx b/lib/src/client/color-switch/color-switch.tsx index 12825b02..905de525 100644 --- a/lib/src/client/color-switch/color-switch.tsx +++ b/lib/src/client/color-switch/color-switch.tsx @@ -33,10 +33,9 @@ export const ColorSwitch = ({ }: ColorSwitchProps) => { const { toggleColorScheme, colorSchemePref } = useTheme(targetSelector); - const cls = [styles.s, styles[colorSchemePref], className].join(" "); return (