Fix ginormous problem with storybook and redux

This commit is contained in:
Hristo Nedelkov 2023-09-05 09:32:29 +03:00
parent 6229830e70
commit 660f388c6b
1 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,8 @@ import { TamaguiProvider } from '@tamagui/web'
import { Provider as StatusProvider } from '@status-im/components'
import '../src/index.css'
import appConfig from '../tamagui.config'
import { Provider as ReduxProvider } from 'react-redux'
import store from '../src/redux/store'
const preview: Preview = {
parameters: {
@ -14,7 +16,9 @@ const preview: Preview = {
return (
<TamaguiProvider config={appConfig}>
<StatusProvider>
<Story />
<ReduxProvider store={store}>
<Story />
</ReduxProvider>
</StatusProvider>
</TamaguiProvider>
)