From 512ede23e382c313eba3bb5efc9dfca03839b6a3 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 22 Nov 2024 13:16:21 +0000 Subject: [PATCH] fix some lints for frontend --- packages/frontend-embed/src/components/EmMfm.ts | 3 +-- packages/frontend-embed/src/components/EmNote.vue | 2 -- packages/frontend/src/components/MkPostFormDialog.vue | 1 + packages/frontend/src/types/post-form.ts | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/frontend-embed/src/components/EmMfm.ts b/packages/frontend-embed/src/components/EmMfm.ts index 715cbea952..40189133d2 100644 --- a/packages/frontend-embed/src/components/EmMfm.ts +++ b/packages/frontend-embed/src/components/EmMfm.ts @@ -41,6 +41,7 @@ type MfmProps = { rootScale?: number; nyaize?: boolean | 'respect'; parsedNodes?: mfm.MfmNode[] | null; + isBlock?: boolean; }; type MfmEvents = { @@ -446,8 +447,6 @@ export default function (props: MfmProps, { emit }: { emit: SetupContext diff --git a/packages/frontend/src/components/MkPostFormDialog.vue b/packages/frontend/src/components/MkPostFormDialog.vue index 122103bd8e..0fd17e12c7 100644 --- a/packages/frontend/src/components/MkPostFormDialog.vue +++ b/packages/frontend/src/components/MkPostFormDialog.vue @@ -13,6 +13,7 @@ SPDX-License-Identifier: AGPL-3.0-only import { shallowRef } from 'vue'; import MkModal from '@/components/MkModal.vue'; import MkPostForm from '@/components/MkPostForm.vue'; +import * as Misskey from 'misskey-js'; import type { PostFormProps } from '@/types/post-form.js'; const props = withDefaults(defineProps