Skip to content

Commit d1631be

Browse files
committed
style(examples/demo/utils/copy-to-clipboard.js): add global comment for eslint
1 parent e9f53b7 commit d1631be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/*global navigator */
2+
13
export const copyToClipboard = (str) => {
24
return navigator.clipboard.writeText(str)
35
}

0 commit comments

Comments
 (0)