Skip to content

Commit

Permalink
Fix story
Browse files Browse the repository at this point in the history
  • Loading branch information
cdedreuille committed May 16, 2024
1 parent d398a34 commit f94cb6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions apps/frontpage/components/docs/mdx/pre.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const Markdown: Story = {
<span style={{ color: '#0074E8' }}>Canvas</span>
<span style={{ color: '#4A4A4F' }}>{` }`}</span>
<span style={{ color: '#DD00A9' }}> from</span>
<span style={{ color: '#003EAA' }}> '@storybook/blocks'</span>
<span style={{ color: '#003EAA' }}>{` '@storybook/blocks'`}</span>
<span style={{ color: '#939393' }}>;</span>
</span>
<span data-line="">
Expand All @@ -40,7 +40,7 @@ export const Markdown: Story = {
<span style={{ color: '#DD00A9' }}> as</span>
<span style={{ color: '#0074E8' }}> ButtonStories</span>
<span style={{ color: '#DD00A9' }}> from</span>
<span style={{ color: '#003EAA' }}> './Button.stories'</span>
<span style={{ color: '#003EAA' }}>{` './Button.stories'`}</span>
<span style={{ color: '#939393' }}>;</span>
</span>
<span data-line=""> </span>
Expand Down
3 changes: 0 additions & 3 deletions apps/frontpage/components/docs/mdx/pre.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use client';

import type { FC, ReactNode } from 'react';
import { CodeWrapper } from './code-snippets/wrapper';

Expand All @@ -8,7 +6,6 @@ interface PreProps {
}

export const Pre: FC<PreProps> = ({ children }) => {
console.log(children);
return (
<CodeWrapper>
<pre>{children}</pre>
Expand Down

0 comments on commit f94cb6a

Please sign in to comment.