mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-28 04:50:17 +01:00
fix some lints for frontend
This commit is contained in:
parent
56563d8dc4
commit
512ede23e3
4 changed files with 3 additions and 5 deletions
|
@ -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<MfmEven
|
|||
return [h(EmEmoji, {
|
||||
key: Math.random(),
|
||||
emoji: token.props.emoji,
|
||||
menu: props.enableEmojiMenu,
|
||||
menuReaction: props.enableEmojiMenuReaction,
|
||||
})];
|
||||
}
|
||||
|
||||
|
|
|
@ -61,8 +61,6 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
:author="appearNote.user"
|
||||
:nyaize="'respect'"
|
||||
:emojiUrls="appearNote.emojis"
|
||||
:enableEmojiMenu="!true"
|
||||
:enableEmojiMenuReaction="true"
|
||||
:isBlock="true"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -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<PostFormProps & {
|
||||
|
|
|
@ -19,4 +19,4 @@ export interface PostFormProps {
|
|||
initialVisibleUsers?: Misskey.entities.UserDetailed[];
|
||||
initialNote?: Misskey.entities.Note;
|
||||
instant?: boolean;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue