fix: note history not working

This commit is contained in:
ShittyKopper 2023-12-26 21:56:34 +03:00
parent 32318bbbfa
commit aafdcccd24

View file

@ -132,7 +132,7 @@ const isRenote = (
);
const el = shallowRef<HTMLElement>();
let appearNote = computed(() => isRenote ? note.value.renote as Misskey.entities.Note : note);
let appearNote = computed(() => isRenote ? note.value.renote as Misskey.entities.Note : note.value);
const renoteUrl = appearNote.value.renote ? appearNote.value.renote.url : null;
const renoteUri = appearNote.value.renote ? appearNote.value.renote.uri : null;