Skip to content

Commit

Permalink
style(examples/demo/utils/copy-to-clipboard.js): add global comment f…
Browse files Browse the repository at this point in the history
…or eslint
  • Loading branch information
sukvvon committed Dec 18, 2024
1 parent e9f53b7 commit d1631be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/demo/src/utils/copy-to-clipboard.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/*global navigator */

export const copyToClipboard = (str) => {
return navigator.clipboard.writeText(str)
}

0 comments on commit d1631be

Please sign in to comment.