From b4dd14eacf59c8079676aa6ab019fece67496d79 Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Mon, 11 Mar 2024 00:18:07 +0900 Subject: [PATCH] chore: use inject instead of prop drilling --- packages/frontend/src/components/MkAbuseReport.vue | 7 +++++-- packages/frontend/src/components/MkLink.vue | 3 --- packages/frontend/src/components/MkMention.vue | 4 +--- packages/frontend/src/components/global/MkA.vue | 12 ++++++------ .../components/global/MkMisskeyFlavoredMarkdown.ts | 7 +------ packages/frontend/src/components/global/MkUrl.vue | 3 --- 6 files changed, 13 insertions(+), 23 deletions(-) diff --git a/packages/frontend/src/components/MkAbuseReport.vue b/packages/frontend/src/components/MkAbuseReport.vue index ab65ea7ec7..0a2d4d681b 100644 --- a/packages/frontend/src/components/MkAbuseReport.vue +++ b/packages/frontend/src/components/MkAbuseReport.vue @@ -20,7 +20,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- +

{{ i18n.ts.reporter }}: @{{ report.reporter.username }}
@@ -41,13 +41,16 @@ SPDX-License-Identifier: AGPL-3.0-only