From b049b5bfaa50d89481e5c83ddf3f3ab62d1900e9 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Fri, 19 May 2023 23:27:56 -0700 Subject: [PATCH] chore: formatting --- .../backend/src/server/api/endpoints/admin/meta.ts | 4 ++-- packages/client/src/components/MkNoteDetailed.vue | 9 ++++++--- packages/client/src/components/MkReactedUsers.vue | 12 +++--------- packages/client/src/components/MkTab.vue | 8 ++++++-- packages/client/src/pages/follow-requests.vue | 5 +---- 5 files changed, 18 insertions(+), 20 deletions(-) diff --git a/packages/backend/src/server/api/endpoints/admin/meta.ts b/packages/backend/src/server/api/endpoints/admin/meta.ts index 70803cb45d..dd04b8cad9 100644 --- a/packages/backend/src/server/api/endpoints/admin/meta.ts +++ b/packages/backend/src/server/api/endpoints/admin/meta.ts @@ -478,8 +478,8 @@ export const meta = { properties: { postEditing: { type: "boolean", - } - } + }, + }, }, }, }, diff --git a/packages/client/src/components/MkNoteDetailed.vue b/packages/client/src/components/MkNoteDetailed.vue index e97141903b..2c36f985d0 100644 --- a/packages/client/src/components/MkNoteDetailed.vue +++ b/packages/client/src/components/MkNoteDetailed.vue @@ -253,7 +253,10 @@ let clips = $ref(); let renotes = $ref(); let isScrolling; -const reactionsCount = Object.values(props.note.reactions).reduce((x,y) => x + y, 0); +const reactionsCount = Object.values(props.note.reactions).reduce( + (x, y) => x + y, + 0 +); const keymap = { r: () => reply(true), @@ -524,14 +527,14 @@ onUnmounted(() => { } } - > :deep(.chips), { + > :deep(.chips) { padding-block: 6px 12px; padding-left: 32px; &:last-child { margin-bottom: 12px; } } - > :deep(.user-card-mini), + > :deep(.user-card-mini), > :deep(.reacted-users > *) { padding-inline: 32px; border-top: 1px solid var(--divider); diff --git a/packages/client/src/components/MkReactedUsers.vue b/packages/client/src/components/MkReactedUsers.vue index 8a8bf842f9..97bade8461 100644 --- a/packages/client/src/components/MkReactedUsers.vue +++ b/packages/client/src/components/MkReactedUsers.vue @@ -4,10 +4,7 @@