From 39d3eb3a6d99e9099a472e18cbe4149bcf9fb3ed Mon Sep 17 00:00:00 2001 From: Lukas Oppermann Date: Mon, 13 Nov 2023 17:22:14 +0100 Subject: [PATCH] RM status from figma section (#656) --- src/layouts/figma-component-layout.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/layouts/figma-component-layout.tsx b/src/layouts/figma-component-layout.tsx index bb9fd56b7..47c74aade 100644 --- a/src/layouts/figma-component-layout.tsx +++ b/src/layouts/figma-component-layout.tsx @@ -1,4 +1,4 @@ -import {Note, StatusLabel} from '@primer/gatsby-theme-doctocat' +import {Note} from '@primer/gatsby-theme-doctocat' import {HEADER_HEIGHT} from '@primer/gatsby-theme-doctocat/src/components/header' import {Box, Heading, Label, Link, Text} from '@primer/react' import FigmaLink from '@primer/gatsby-theme-doctocat/src/components/figma-link' @@ -33,7 +33,6 @@ export const query = graphql` figmaComponent(figmaId: {eq: $figmaId}, status: {ne: "DEPRECATED"}) { name figmaId - status updatedAt componentUrl: url thumbnails { @@ -67,7 +66,7 @@ const lastUpdated = date => { } export default function FigmaComponentLayout({data}) { - const {name, componentUrl, status, updatedAt, properties, thumbnails} = data.figmaComponent || {} + const {name, componentUrl, updatedAt, properties, thumbnails} = data.figmaComponent || {} const description = data.sitePage?.context.frontmatter.description || '' const title = data.sitePage?.context.frontmatter.title || name @@ -153,9 +152,6 @@ export default function FigmaComponentLayout({data}) {
  • -
  • - -