From a7964693224a6832cdb86500e2fcf567b3cb9349 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 | 2 +- website/src/components/typography.js | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/website/docs/styleguide.mdx b/website/docs/styleguide.mdx index f97ad7d3d..5cfa68228 100644 --- a/website/docs/styleguide.mdx +++ b/website/docs/styleguide.mdx @@ -65,7 +65,7 @@ import { Colors, Patterns } from 'widgets/styleguide' ## Typography {#typography} -import { H1, H2, H3, H4, H5, Label, InlineList, Comment } from +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 1c03b7a54..c835c4c4d 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}