matthoffner commited on
Commit
3482873
1 Parent(s): ceaa573

Update components/Markdown/CodeBlock.tsx

Browse files
Files changed (1) hide show
  1. components/Markdown/CodeBlock.tsx +2 -2
components/Markdown/CodeBlock.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import { IconCheck, IconClipboard, IconDownload, IconCaretRightSquare } from '@tabler/icons-react';
2
  import { FC, memo, useState } from 'react';
3
  import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
4
  import { oneDark } from 'react-syntax-highlighter/dist/cjs/styles/prism';
@@ -81,7 +81,7 @@ export const CodeBlock: FC<Props> = memo(({ language, value }) => {
81
  className="flex gap-1.5 items-center rounded bg-none p-1 text-xs text-white"
82
  onClick={toggleRunCode}
83
  >
84
- <IconCaretRightSquare size={18} />
85
  {isRunning ? t('Stop') : t('Run code')}
86
  </button>
87
  <button
 
1
+ import { IconCheck, IconClipboard, IconDownload, IconCaretRight } from '@tabler/icons-react';
2
  import { FC, memo, useState } from 'react';
3
  import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
4
  import { oneDark } from 'react-syntax-highlighter/dist/cjs/styles/prism';
 
81
  className="flex gap-1.5 items-center rounded bg-none p-1 text-xs text-white"
82
  onClick={toggleRunCode}
83
  >
84
+ <IconCaretRight size={18} />
85
  {isRunning ? t('Stop') : t('Run code')}
86
  </button>
87
  <button