fix: add worker copy text wrong

This commit is contained in:
jialin
2024-07-23 15:30:54 +08:00
parent 50104cf276
commit b19a71b9e9
@@ -65,7 +65,7 @@ const CodeViewer: React.FC<CodeViewerProps> = (props) => {
}} }}
></code> ></code>
<CopyButton <CopyButton
text={highlightedCode.value} text={code}
size="small" size="small"
style={{ color: '#abb2bf' }} style={{ color: '#abb2bf' }}
></CopyButton> ></CopyButton>