Skip to content

Commit

Permalink
fix(docs): chromatic build issue (#3880)
Browse files Browse the repository at this point in the history
  • Loading branch information
platon-rov committed Sep 19, 2022
1 parent 37e6557 commit eedb209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-visual-stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const wrappedStory = (storyName, storyFn, direction) =>\`
<br />\`;
export const ${visualStoryName} = () => {
let storyNames = Object.keys(stories).filter(story => story !== 'default' && story !== 'dev');
let storyNames = Object.keys(stories).filter(story => !['default', 'dev', '__namedExportsOrder'].includes(story));
const allVisualStories = document.createElement('div');
allVisualStories.innerHTML = storyNames.map(function(eachStoryName) {
const eachStory = stories[eachStoryName];
Expand Down

0 comments on commit eedb209

Please sign in to comment.