Skip to content

Commit

Permalink
[DOC-381] make titles optional in CodeExamples
Browse files Browse the repository at this point in the history
  • Loading branch information
benpankow committed Aug 26, 2024
1 parent bb0ede8 commit 83a74d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs-beta/src/components/CodeExample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const CodeExample: React.FC<CodeExampleProps> = ({filePath, language, title}) =>
}

return (
<CodeBlock language={language} title={title || filePath}>
<CodeBlock language={language} title={title}>
{content || 'Loading...'}
</CodeBlock>
);
Expand Down

0 comments on commit 83a74d4

Please sign in to comment.