From 1101b2c2660fcf8cb4a917217d3813ee34414190 Mon Sep 17 00:00:00 2001 From: Trillium Smith Date: Wed, 19 Jun 2024 13:07:13 -0700 Subject: [PATCH] feat: Create Blank svg as placeholder while ThemeSwitch mounts --- components/ThemeSwitch.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/ThemeSwitch.tsx b/components/ThemeSwitch.tsx index 178ec46..7f66b19 100644 --- a/components/ThemeSwitch.tsx +++ b/components/ThemeSwitch.tsx @@ -44,6 +44,7 @@ const Monitor = () => ( ) +const Blank = () => const ThemeSwitch = () => { const [mounted, setMounted] = useState(false)