Skip to content

Commit 94a87b1

Browse files
committed
chore: formatting
1 parent 60146dd commit 94a87b1

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

scripts/components/DownloadDialog.vue

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
<script setup lang="ts">
2-
import {
3-
computed,
4-
nextTick,
5-
onUnmounted,
6-
ref,
7-
useTemplateRef,
8-
watch,
9-
} from "vue";
2+
import { nextTick, onUnmounted, ref, useTemplateRef, watch } from "vue";
103
import BaseDialog from "../components/BaseDialog.vue";
114
import { Download } from "../lib/icons.ts";
125
import { usePage } from "../stores/page.ts";
@@ -24,7 +17,7 @@ const emit = defineEmits<{
2417
// Visbility ----------------------------------------------
2518
2619
const confirmButtonEl = useTemplateRef<HTMLButtonElement | null>(
27-
"confirmButtonEl"
20+
"confirmButtonEl",
2821
);
2922
3023
watch(visible, async (is, was) => {
@@ -55,7 +48,7 @@ watch(
5548
if (is && !was) createDownloadUrl(pageText.value);
5649
else if (!is && downloadUrl.value) URL.revokeObjectURL(downloadUrl.value);
5750
},
58-
{ immediate: true }
51+
{ immediate: true },
5952
);
6053
6154
onUnmounted(() => {

0 commit comments

Comments
 (0)