Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Sep 29, 2024
1 parent c270bb7 commit 3ec64ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function BackgroundColor() {
)
}}
/>
<label className="text-sm text-gray-500 w-18" />
<label className="text-sm text-gray-500 w-20" />
</div>
)
}
2 changes: 1 addition & 1 deletion docs/components/table.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useMDXComponents } from 'nextra-theme-docs'
import { FC, ReactNode } from 'react'
import type { FC, ReactNode } from 'react'

export const Table: FC<{ children: ReactNode }> = ({ children }) => {
const { table: Table, tr: Tr, th: Th } = useMDXComponents()
Expand Down
3 changes: 2 additions & 1 deletion docs/components/toggle-visibility-section.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useMDXComponents } from 'nextra-theme-docs'
import { compileMdx } from 'nextra/compile'
import { RemoteContent } from 'nextra/components'
import { FC } from 'react'
import type { FC } from 'react'

export const ToggleVisibilitySection: FC<{
element: string
Expand All @@ -21,6 +21,7 @@ export default {
}
\`\`\``)
return (
// eslint-disable-next-line react-hooks/rules-of-hooks
<RemoteContent compiledSource={result} components={useMDXComponents()} />
)
}

0 comments on commit 3ec64ee

Please sign in to comment.