diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index f625bd79..5505bdfa 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -22,8 +22,6 @@ import { format } from 'date-fns' import { FeatureContext } from '~/components/AppProviders' import { z } from 'zod' import { LoginStateContext } from '~/features/auth' -import { LOGGED_IN_KEY } from '~/constants/localStorage' -import { useLocalStorage } from '~/hooks/useLocalStorage' // Initialize MSW initialize({ @@ -85,7 +83,7 @@ export const mockFeatureFlagsDecorator: Decorator = ( } const LoginStateDecorator: Decorator = (storyFn, { parameters }) => { - const [hasLoginStateFlag, setLoginStateFlag] = useState( + const [hasLoginStateFlag, setLoginStateFlag] = useState( Boolean(parameters.loginState) )