From 23dbdca72b05f3a495b715af6b9993171cf70b4d Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sun, 16 Apr 2023 03:10:35 +0100 Subject: [PATCH] fix: uncontrolled switch --- src/components/common/DarkModeSwitch.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/DarkModeSwitch.tsx b/src/components/common/DarkModeSwitch.tsx index 73f9399f..87184b05 100644 --- a/src/components/common/DarkModeSwitch.tsx +++ b/src/components/common/DarkModeSwitch.tsx @@ -6,7 +6,7 @@ export const DarkModeSwitch = () => { const isDark = useIsDark() return (