Skip to content

Commit

Permalink
RM status from figma section (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann authored Nov 13, 2023
1 parent d559c2e commit 39d3eb3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/layouts/figma-component-layout.tsx
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -33,7 +33,6 @@ export const query = graphql`
figmaComponent(figmaId: {eq: $figmaId}, status: {ne: "DEPRECATED"}) {
name
figmaId
status
updatedAt
componentUrl: url
thumbnails {
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -153,9 +152,6 @@ export default function FigmaComponentLayout({data}) {
<li>
<Label size="large">{lastUpdated(updatedAt)}</Label>
</li>
<li>
<StatusLabel status={sentenceCase(status)} />
</li>
</Box>
<Box
as={'ul'}
Expand Down

0 comments on commit 39d3eb3

Please sign in to comment.