From 5c305a85e6eb7509439edf70db9d1c0802ae53ba Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Fri, 2 Jun 2023 20:06:04 -0700 Subject: [PATCH] chore: formatting --- packages/client/src/components/MkCheatSheetDialog.vue | 3 +-- packages/client/src/components/MkNote.vue | 2 +- packages/client/src/pages/mfm-cheat-sheet.vue | 2 +- packages/client/src/pages/user/home.vue | 6 +++++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/client/src/components/MkCheatSheetDialog.vue b/packages/client/src/components/MkCheatSheetDialog.vue index 519955d48..3b723cde5 100644 --- a/packages/client/src/components/MkCheatSheetDialog.vue +++ b/packages/client/src/components/MkCheatSheetDialog.vue @@ -6,7 +6,7 @@ @closed="$emit('closed')" > - + @@ -36,5 +36,4 @@ function close(res) { .fade-leave-to { opacity: 0; } - diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index 1325809f3..ddf805fb3 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -382,7 +382,7 @@ function onContextmenu(ev: MouseEvent): void { const isLink = (el: HTMLElement) => { if (el.tagName === "A") return true; // The Audio element's context menu is the browser default, such as for selecting playback speed. - if (el.tagName === 'AUDIO') return true; + if (el.tagName === "AUDIO") return true; if (el.parentElement) { return isLink(el.parentElement); } diff --git a/packages/client/src/pages/mfm-cheat-sheet.vue b/packages/client/src/pages/mfm-cheat-sheet.vue index 1bbe36915..6c284bee0 100644 --- a/packages/client/src/pages/mfm-cheat-sheet.vue +++ b/packages/client/src/pages/mfm-cheat-sheet.vue @@ -450,7 +450,7 @@ import { i18n } from "@/i18n"; import { instance } from "@/instance"; defineProps<{ - popup?: boolean + popup?: boolean; }>(); let preview_mention = $ref("@example"); diff --git a/packages/client/src/pages/user/home.vue b/packages/client/src/pages/user/home.vue index 2ea4bc971..1926fee88 100644 --- a/packages/client/src/pages/user/home.vue +++ b/packages/client/src/pages/user/home.vue @@ -134,7 +134,11 @@