From 9cd0bd1572701526916b17805e8f886c5efe7816 Mon Sep 17 00:00:00 2001 From: jmfrancois Date: Thu, 27 Jul 2023 12:16:27 +0200 Subject: [PATCH] fix: default value --- packages/storybook/.storybook/preview.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/storybook/.storybook/preview.js b/packages/storybook/.storybook/preview.js index eeb5c901799..94dd111f5e1 100644 --- a/packages/storybook/.storybook/preview.js +++ b/packages/storybook/.storybook/preview.js @@ -96,11 +96,10 @@ export const parameters = { // // }, [statusByPage]); const initialTheme = props.context.store.globals.globals.theme; - const { theme: previewTheme } = useThemeSwitcher(initialTheme); return ( -
+
);