commit 8586e8cbf44287062caf3bb9078ecb1328cc6e82
parent c406e60934da844ac587b96825f87fc7206049c0
Author: MTRNord <mtrnord1@gmail.com>
Date: Tue, 2 May 2023 13:09:56 +0200
fix: Make storybook build
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx
@@ -1,7 +1,5 @@
import type { Preview } from "@storybook/react";
import React from "react";
-import { Provider } from "react-redux";
-import { store } from "../src/app/store";
import { withThemeByDataAttribute } from '@storybook/addon-styling';
import "../src/index.scss";
import "./tailwindcss.scss";
@@ -31,9 +29,7 @@ const preview: Preview = {
attributeName: 'data-mode',
}),
(Story) => (
- <Provider store={store} >
- <Story />
- </Provider>
+ <Story />
),
]
};