We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72e47bd commit a163961Copy full SHA for a163961
frontend/src/components/Sidebar/Sidebar.stories.tsx
@@ -1,6 +1,7 @@
1
import { configureStore } from '@reduxjs/toolkit';
2
import { Meta, StoryFn } from '@storybook/react';
3
import { SnackbarProvider } from 'notistack';
4
+import { initialState as THEME_INITIAL_STATE } from '../../components/App/themeSlice';
5
import { initialState as CONFIG_INITIAL_STATE } from '../../redux/configSlice';
6
import { initialState as FILTER_INITIAL_STATE } from '../../redux/filterSlice';
7
import { INITIAL_STATE as UI_INITIAL_STATE } from '../../redux/reducers/ui';
@@ -29,6 +30,9 @@ const Template: StoryFn<StoryProps> = args => {
29
30
plugins: {
31
loaded: true,
32
},
33
+ theme: {
34
+ ...THEME_INITIAL_STATE,
35
+ },
36
config: {
37
...CONFIG_INITIAL_STATE,
38
0 commit comments