From 7f9d3f9d54d41bee23774fa70676483f2aa04f58 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 12 Apr 2023 17:19:14 -0700 Subject: [PATCH] chore: formatting --- packages/client/package.json | 2 +- packages/client/src/pages/admin/index.vue | 15 +- .../src/pages/messaging/messaging-room.vue | 172 +++++++++--------- .../client/src/scripts/lookup-instance.ts | 4 +- pnpm-lock.yaml | 76 ++++---- 5 files changed, 140 insertions(+), 129 deletions(-) diff --git a/packages/client/package.json b/packages/client/package.json index 24af5b1431..49c175b15b 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -53,7 +53,7 @@ "json5": "2.2.3", "katex": "0.16.4", "matter-js": "0.18.0", - "mfm-js": "0.23.2", + "mfm-js": "0.23.3", "photoswipe": "5.3.4", "prettier": "2.8.7", "prettier-plugin-vue": "1.1.6", diff --git a/packages/client/src/pages/admin/index.vue b/packages/client/src/pages/admin/index.vue index c0ac742b8c..77c90aeee8 100644 --- a/packages/client/src/pages/admin/index.vue +++ b/packages/client/src/pages/admin/index.vue @@ -161,12 +161,12 @@ const menuDef = $computed(() => [ }, ] : []), - { - type: "button", - icon: "ph-list-magnifying-glass ph-bold ph-lg", - text: i18n.ts.indexPosts, - action: indexPosts, - }, + { + type: "button", + icon: "ph-list-magnifying-glass ph-bold ph-lg", + text: i18n.ts.indexPosts, + action: indexPosts, + }, ], }, { @@ -369,7 +369,7 @@ async function lookupNote() { "notes/show", q.startsWith("http://") || q.startsWith("https://") ? { url: q.trim() } - : { noteId: q.trim() }, + : { noteId: q.trim() } ) .then((note) => { os.pageWindow(`/notes/${note.id}`); @@ -384,7 +384,6 @@ async function lookupNote() { }); } - const lookup = (ev) => { os.popupMenu( [ diff --git a/packages/client/src/pages/messaging/messaging-room.vue b/packages/client/src/pages/messaging/messaging-room.vue index 4e96235db3..34361ba75a 100644 --- a/packages/client/src/pages/messaging/messaging-room.vue +++ b/packages/client/src/pages/messaging/messaging-room.vue @@ -6,87 +6,87 @@ :tabs="headerTabs" :display-back-button="true" /> - -
- - - - -
-