Skip to content

Commit

Permalink
fix: removed header
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccoSordo committed Aug 23, 2024
1 parent cec1d89 commit 8ae6f49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/theme/Playground/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ export default function Playground({ children, transformCode, ...props }) {
{isEditorEnabled && (
<ResultWithHeader snippetId={getSnippetId(children)} />
)}
<EditorWithHeader code={children} />
<EditorWithHeader code={getCodeBody(children)} />
</>
) : (
<>
<EditorWithHeader code={children} />
<EditorWithHeader code={getCodeBody(children)} />
{isEditorEnabled && (
<ResultWithHeader snippetId={getSnippetId(children)} />
)}
Expand Down

0 comments on commit 8ae6f49

Please sign in to comment.