I want to create a story in storybook for my component that uses a state from easyPeasy.
const label = useStoreState((state) => state.localeModel.getLabel)
When I try to create the story I am getting an error in storybook An error occurred trying to map state in a useStoreState hook: Cannot read property 'getState' of undefined. .
How can I fix that?