From 1c16893e95b6a3f77dfc78f5225ce0daa5b93b32 Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Tue, 26 Jul 2022 16:36:37 +0530 Subject: [PATCH] Allow modifying storageKey at a later stage --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 92a912da..700a356a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -88,7 +88,7 @@ const Theme: React.FC = ({ // Unsupported } }, - [forcedTheme] + [forcedTheme, storageKey] ) const handleMediaQuery = useCallback(