mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 02:28:54 +08:00
fix lint errors #50
This commit is contained in:
@@ -3,7 +3,7 @@ import dataUrlToBlob from 'dataurl-to-blob'
|
|||||||
|
|
||||||
async function _copyBlob (blob) {
|
async function _copyBlob (blob) {
|
||||||
await navigator.clipboard.write([
|
await navigator.clipboard.write([
|
||||||
new ClipboardItem({
|
new ClipboardItem({ // eslint-disable-line no-undef
|
||||||
[blob.type]: blob
|
[blob.type]: blob
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user