Skip to content

Commit 9fef9ff

Browse files
Updated code
1 parent ef2caef commit 9fef9ff

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.storybook/preview.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@ import './styles.css';
66
import './tailwind.css';
77

88
export const decorators: Preview['decorators'] = [
9-
(story, context) => {
10-
return html`
11-
<div data-mvx-theme="mvx:${context.globals.backgrounds.value}-theme">
12-
${story()}
13-
</div>
14-
`;
15-
},
9+
(story, context) => html` <div data-mvx-theme="mvx:${context.globals.backgrounds.value}-theme">${story()}</div> `,
1610
];
1711

1812
export const initialGlobals: Preview['initialGlobals'] = {

0 commit comments

Comments
 (0)