Skip to content

Commit 7d1025a

Browse files
[autofix.ci] apply automated fixes
1 parent 540ed93 commit 7d1025a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/components/LogoContextMenu.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ async function copySvg() {
4343
})
4444
await navigator.clipboard.write([item])
4545
copied.value = true
46-
setTimeout(() => { copied.value = false }, 2000)
46+
setTimeout(() => {
47+
copied.value = false
48+
}, 2000)
4749
} catch {
4850
// Fallback for older browsers that don't support ClipboardItem with promises
4951
const res = await fetch('/logo.svg')
@@ -57,7 +59,9 @@ async function copySvg() {
5759
document.execCommand('copy')
5860
document.body.removeChild(textarea)
5961
copied.value = true
60-
setTimeout(() => { copied.value = false }, 2000)
62+
setTimeout(() => {
63+
copied.value = false
64+
}, 2000)
6165
}
6266
setTimeout(close, 1000)
6367
}

0 commit comments

Comments
 (0)