Skip to content

Commit

Permalink
rest
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasStrom committed Jan 13, 2025
1 parent 153f8b7 commit 3b2b351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/miscellaneous/MarkdownRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export type CodeBlockProps = {

export const CodeBlock = ({ inline = false, className: language, children }: CodeBlockProps) => {
const value = typeof children === 'string' ? children : String(children);
console.log("CHILDREN: ", value);
console.log("LANGUAGE: ", language);
console.log('CHILDREN: ', value);

Check warning on line 50 in src/components/miscellaneous/MarkdownRenderer.tsx

View workflow job for this annotation

GitHub Actions / build (18.x)

Unexpected console statement

Check warning on line 50 in src/components/miscellaneous/MarkdownRenderer.tsx

View workflow job for this annotation

GitHub Actions / build (18.x)

Unexpected console statement
console.log('LANGUAGE: ', language);

Check warning on line 51 in src/components/miscellaneous/MarkdownRenderer.tsx

View workflow job for this annotation

GitHub Actions / build (18.x)

Unexpected console statement

Check warning on line 51 in src/components/miscellaneous/MarkdownRenderer.tsx

View workflow job for this annotation

GitHub Actions / build (18.x)

Unexpected console statement
if (inline) {
return <code className='bg-card p-1 rounded-md'>{value}</code>;
} else if (language === LanguageTypes.EXPANDLIST) {
Expand Down

0 comments on commit 3b2b351

Please sign in to comment.