Skip to content

Commit

Permalink
chore: lint disable no-alert
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Dec 6, 2023
1 parent dfe968c commit 3e7e001
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/components/TheHeader.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script setup lang="ts">
async function copyLink(e: MouseEvent) {
await navigator.clipboard.writeText(window.location.href)
// eslint-disable-next-line no-alert
window.alert('copy')
}
</script>
Expand Down

0 comments on commit 3e7e001

Please sign in to comment.