defaultLike heart as null

This commit is contained in:
fly_mc 2024-11-15 12:39:12 +08:00
parent 9907c90411
commit 6670d4e181
2 changed files with 2 additions and 2 deletions

View file

@ -320,7 +320,7 @@ const renoteCollapsed = ref(
),
);
const defaultLike = computed(() => defaultStore.state.like ?? '');
const defaultLike = computed(() => defaultStore.state.like ?? '❤️');
const inReplyToCollapsed = ref(defaultStore.state.collapseNotesRepliedTo);
const disableReactionsViewer = ref(defaultStore.reactiveState.disableReactionsViewer);

View file

@ -348,7 +348,7 @@ const showTicker = (defaultStore.state.instanceTicker === 'always') || (defaultS
const conversation = ref<Misskey.entities.Note[]>([]);
const replies = ref<Misskey.entities.Note[]>([]);
const canRenote = computed(() => ['public', 'home'].includes(appearNote.value.visibility) || appearNote.value.userId === $i?.id);
const defaultLike = computed(() => defaultStore.state.like ?? '');
const defaultLike = computed(() => defaultStore.state.like ?? '❤️');
type ShowingNoteHistoryState = {
createdAt: string | null;