Skip to content

Commit

Permalink
fix: remove Tools.clone for copying demo data and options
Browse files Browse the repository at this point in the history
  • Loading branch information
Fei committed Jun 18, 2020
1 parent 58903dc commit def7c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/demo/data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ allDemoGroups = allDemoGroups.map((demoGroup) => {
});

// in the storybook we want to show all the demos
export const storybookDemoGroups = Tools.clone(allDemoGroups);
export const storybookDemoGroups = allDemoGroups;

// in the demo page we want to show only demos with isDemoExample = true
export const demoGroups = Tools.clone(allDemoGroups)
Expand Down

0 comments on commit def7c54

Please sign in to comment.