Skip to content

Commit 3a52cc0

Browse files
committed
chore: eslint fixes
1 parent 9d81a7d commit 3a52cc0

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/lib/button/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { classed as css, type VariantProps } from '@tw-classed/core';
22
import { type ComponentProps, type ElementType, forwardRef } from 'react';
33

4-
import { flexCss, FlexVariants } from '../flex/flex';
4+
import { flexCss, type FlexVariants } from '../flex/flex';
55
import { Icon } from '../icon';
66

77
import styles from './button.module.css';

src/pages-helpers/Playground.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ export const Playground = ({ code, language }: Props) => {
1818
<LiveProvider theme={themes.github} scope={components} code={code} language={language}>
1919
<div className="rounded-md shadow-popper mb-6 mt-4">
2020
<Root>
21-
<LivePreview
22-
// @ts-expect-error
23-
Component={Preview}
24-
/>
21+
{/* @ts-expect-error */}
22+
<LivePreview Component={Preview} />
2523
<Content asChild>
2624
<div>
2725
<LiveEditor />

0 commit comments

Comments
 (0)