Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
storywithoutend committed Oct 23, 2023
1 parent a7d4e38 commit 75f1f55
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion components/src/components/organisms/Dialog/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const Heading = ({
)
}

const Content = ({ children }: React.PropsWithChildren<null>) => {
const Content = ({ children }: { children?: React.ReactNode }) => {
return (
<Box
maxHeight="60vh"
Expand Down
1 change: 0 additions & 1 deletion docs/src/components/CodeBlock/CodeBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import Highlight, { Language, defaultProps } from 'prism-react-renderer'
import dynamic from 'next/dynamic'
import vsLight from 'prism-react-renderer/themes/vsLight'
import vsDark from 'prism-react-renderer/themes/vsDark'
import styled, { css } from 'styled-components'

import { Colors } from '@ensdomains/thorin'

Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/Palette/Palette.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
useTheme,
} from '@ensdomains/thorin'
import { grid, colorLabel } from './styles.css'
import { PaletteModal, PaletteModalProps } from '../PaletteModal/PaletteModal'
import { PaletteModal } from '../PaletteModal/PaletteModal'

const ColorLabel = ({ children }: React.PropsWithChildren<{}>) => (
<Box
Expand Down
4 changes: 0 additions & 4 deletions docs/src/pages/components/[...slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@ import { serialize } from 'next-mdx-remote/serialize'
import matter from 'gray-matter'
import { PropItem } from 'react-docgen-typescript'

import { Box, Typography } from '@ensdomains/thorin'

import { glob } from 'glob'

import { Props as LayoutProps, getLayout } from '~/layouts/docs'
import { getComponentName, getComponentPaths } from '~/utils/fs'
import { getStaticTypes } from '~/utils/getStaticTypes'
import { createGitHubLink } from '~/utils/github'
import { Link } from '~/components'

import path from 'path'
import GithubSVG from '~/assets/Github.svg'
import { GitHubLink } from '~/components/GitHubLink'

export const getStaticPaths: GetStaticPaths = async () => ({
Expand Down
3 changes: 1 addition & 2 deletions docs/src/pages/guides/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ import { MDXRemote, MDXRemoteSerializeResult } from 'next-mdx-remote'
import { serialize } from 'next-mdx-remote/serialize'
import matter from 'gray-matter'

import { Box, Typography, tokens } from '@ensdomains/thorin'
import { Box } from '@ensdomains/thorin'

import { Props as LayoutProps, getLayout } from '~/layouts/docs'
import { getGuideName, getGuidePaths } from '~/utils/fs'
import { createGitHubLink } from '~/utils/github'
import { Link } from '~/components'
import { GitHubLink } from '~/components/GitHubLink'

export const getStaticPaths: GetStaticPaths = async () => ({
Expand Down

0 comments on commit 75f1f55

Please sign in to comment.