fix: highlighter not working

This commit is contained in:
kangfenmao 2024-07-09 16:26:10 +08:00
parent 0bce853157
commit 9b92b191ae

View File

@ -1,5 +1,5 @@
import React from 'react' import React from 'react'
import SyntaxHighlighter from 'react-syntax-highlighter' import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'
import { atomDark } from 'react-syntax-highlighter/dist/esm/styles/prism' import { atomDark } from 'react-syntax-highlighter/dist/esm/styles/prism'
import styled from 'styled-components' import styled from 'styled-components'
import { CopyOutlined } from '@ant-design/icons' import { CopyOutlined } from '@ant-design/icons'