Skip to content

Commit 5d72887

Browse files
committed
Refactor imports and remove unused code
1 parent 7bf41dc commit 5d72887

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

src/components/email/BodyTabs.vue

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,14 @@
11
<script setup lang="ts">
2-
import type {
3-
Email, SpamReport
4-
} from "../../lib/types";
5-
import {
6-
ref, unref
7-
} from "vue"
8-
import {
9-
ensureEmailFileIsWritten
10-
} from "../../lib/utils";
2+
import type { Email, SpamReport } from "../../lib/types";
3+
import { ref, unref } from "vue"
4+
import { ensureEmailFileIsWritten } from "../../lib/utils";
115
import GoogleChrome from "../icons/GoogleChrome.vue"
126
import Firefox from "../icons/Firefox.vue"
137
import HtmlPreview from "./HtmlPreview.vue"
148
import LinksChecker from "./LinksChecker.vue";
159
import SpamAssassin from "./SpamAssassin.vue";
16-
import {
17-
open
18-
} from "@tauri-apps/api/shell";
19-
20-
const {
21-
email
22-
} = defineProps < {
23-
email: Email
24-
} > ()
10+
import { open } from "@tauri-apps/api/shell";
11+
const { email } = defineProps<{ email: Email }>()
2512
2613
const tabs = ["html", "html source", "text", "raw", 'links checker', 'Spam Assassin']
2714
const activeTab = ref(tabs[0])

0 commit comments

Comments
 (0)