diff --git a/components/src/components/organisms/Dialog/Dialog.tsx b/components/src/components/organisms/Dialog/Dialog.tsx index 204a186f..a060e10e 100644 --- a/components/src/components/organisms/Dialog/Dialog.tsx +++ b/components/src/components/organisms/Dialog/Dialog.tsx @@ -210,7 +210,7 @@ const Heading = ({ ) } -const Content = ({ children }: React.PropsWithChildren) => { +const Content = ({ children }: { children?: React.ReactNode }) => { return ( ) => ( ({ diff --git a/docs/src/pages/guides/[slug].tsx b/docs/src/pages/guides/[slug].tsx index f0f67d46..67ab3892 100644 --- a/docs/src/pages/guides/[slug].tsx +++ b/docs/src/pages/guides/[slug].tsx @@ -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 () => ({