fix: add worker copy text wrong
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user