From fd9d52d7b607f1c40d22e49b9e8877660df80346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Bl=C3=A4ttermann?= Date: Thu, 17 Nov 2022 17:31:45 +0100 Subject: [PATCH] Remove unused component The component is no longer necessary after 7f2ea20fee67c24eb3c7a10b76f6d554c0df5c88 --- website/docs/styleguide.mdx | 11 +---------- website/src/components/typography.js | 6 ------ 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/website/docs/styleguide.mdx b/website/docs/styleguide.mdx index 78b2c1d75..1f0899082 100644 --- a/website/docs/styleguide.mdx +++ b/website/docs/styleguide.mdx @@ -65,16 +65,7 @@ import { Colors, Patterns } from 'widgets/styleguide' ## Typography {#typography} -import { - H1, - H2, - H3, - H4, - H5, - Label, - InlineList, - Comment, -} from 'components/typography' +import { H1, H2, H3, H4, H5, Label, InlineList } from 'components/typography' > #### Markdown > diff --git a/website/src/components/typography.js b/website/src/components/typography.js index 959dc0285..e05948ff5 100644 --- a/website/src/components/typography.js +++ b/website/src/components/typography.js @@ -70,12 +70,6 @@ export const Help = ({ children, className, size = 16 }) => ( ) -/** - * Allows inserting comments that will appear in .md preview on GitHub, but - * won't be included in the final build of the site. - */ -export const Comment = () => null - const Permalink = ({ id, children }) => !id ? ( {children}