mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-26 14:15:52 +00:00
Force text/plain mimetype when copying request code (#7321)
* Force text/plain mimetype when copying requests * chore: lint --------- Co-authored-by: Austen Adler <agadler@austenadler.com>
This commit is contained in:
@@ -44,6 +44,7 @@ const CodeView = ({ language, item }) => {
|
||||
<StyledWrapper>
|
||||
<CopyToClipboard
|
||||
text={snippet}
|
||||
options={{ format: 'text/plain' }}
|
||||
onCopy={() => toast.success('Copied to clipboard!')}
|
||||
>
|
||||
<button className="copy-to-clipboard">
|
||||
|
||||
Reference in New Issue
Block a user