Skip to content

Commit

Permalink
fix: disable SSR performance checks
Browse files Browse the repository at this point in the history
We're not server-side rendering components and I suspect that this is triggering exceptions when the storybook-addon-performance tries to run server tasks. Luckily there is a workaround, introduced in atlassian-labs/storybook-addon-performance#40.

chore/storybook-performance-addon
  • Loading branch information
Robin Metral committed Nov 13, 2020
1 parent 812b246 commit 569d3e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ const withTrackingAction = (Story) => (
</TrackingRoot>
);

addParameters({
performance: {
allowedGroups: ['client'],
},
});

export const decorators = [
withThemeProvider,
// withStoryStyles,
Expand Down

0 comments on commit 569d3e5

Please sign in to comment.