Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Wrap whole story in div to prevent cheerio bugs

dominik-zeglenfe837aa6c293
diff --git a/saleor/static/dashboard-next/storybook/Decorator.tsx b/saleor/static/dashboard-next/storybook/Decorator.tsx
index 2357d7db93..91e47bfc8b 100644
--- a/saleor/static/dashboard-next/storybook/Decorator.tsx
+++ b/saleor/static/dashboard-next/storybook/Decorator.tsx
@@ -8,7 +8,9 @@ import theme from "../theme";
export const Decorator = storyFn => (
<MuiThemeProvider theme={theme}>
<CssBaseline />
- <MessageManager>{storyFn()}</MessageManager>
+ <MessageManager>
+ <div>{storyFn()}</div>
+ </MessageManager>
</MuiThemeProvider>
);
export default Decorator;