Skip to content

Commit

Permalink
update import line
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthkp authored Oct 31, 2023
1 parent c5f9b4a commit 89b7435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/react-component-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const query = graphql`

export default function ReactComponentLayout({data}) {
const {name, status, a11yReviewed, props: componentProps, subcomponents, stories} = data.reactComponent
const importStatement = `import {${name}} from '@primer/react${status === 'draft' ? '/drafts' : ''}'`
const importStatement = `import {${name}} from '@primer/react${status === 'experimental' ? '/experimental' : ''}'`

const tableOfContents = {
items: [
Expand Down

0 comments on commit 89b7435

Please sign in to comment.