Skip to content

Commit

Permalink
Cleanup stitches
Browse files Browse the repository at this point in the history
  • Loading branch information
SorsOps committed Dec 18, 2024
1 parent d2f20c9 commit c0621c9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/graph-editor/.storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// .storybook/preview.tsx
import React from 'react';
import { Decorator } from '@storybook/react';
import { darkTheme } from '@tokens-studio/tokens';
import { Tooltip } from '@tokens-studio/ui';
import { ReduxProvider } from '../src/redux/index.js';
import {
Title,
Expand All @@ -15,7 +13,7 @@ import {
} from '@storybook/blocks';

import '../src/index.scss';
import styles from './preview.module.scss';
import styles from './preview.module.css';

export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
Expand Down Expand Up @@ -45,8 +43,8 @@ export const parameters = {

const ThemeBlock = ({ children, fill, left, ...props }) => {
return (
<div
className={`${styles.themeBlock} ${fill ? styles.fill : ''} ${left ? styles.left : ''}`}
<div
className={`${styles.themeBlock} ${fill ? styles.fill : ''} ${left ? styles.left : ''}`}
{...props}
>
<div className={styles.inner}>{children}</div>
Expand Down

0 comments on commit c0621c9

Please sign in to comment.