Skip to content

Commit

Permalink
Update CopyToClipboard.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mbtools authored Sep 26, 2024
1 parent 18a09e9 commit cf82428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/components/CopyToClipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default class extends React.PureComponent {
);

if (navigator.clipboard) {
await navigator.clipboard.writeText(textToCopy);
navigator.clipboard.writeText(textToCopy);
} else {
console.error(
'react-json-view error:',
Expand Down

0 comments on commit cf82428

Please sign in to comment.