Skip to content

Commit 82e6a9b

Browse files
revert(.storybook/preview): remove global setting for Chromatic modes
1 parent 6de074d commit 82e6a9b

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

.storybook/preview.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,6 @@ const preview: Preview = {
2323
date: /Date$/i,
2424
},
2525
},
26-
chromatic: {
27-
modes: {
28-
...chakraBreakpointArray.reduce<{ [x: string]: { viewport: string } }>(
29-
(arr, curr) => {
30-
const [token] = curr
31-
return {
32-
...arr,
33-
[token]: {
34-
viewport: token,
35-
},
36-
}
37-
},
38-
{}
39-
),
40-
},
41-
},
4226
backgrounds: {
4327
disable: true,
4428
},

0 commit comments

Comments
 (0)