perf(frontend): ノート表示時のMFMパース処理を減らす
This commit is contained in:
parent
bf01c1ee64
commit
d6fe897923
5 changed files with 12 additions and 12 deletions
|
@ -42,7 +42,7 @@ const props = defineProps<{
|
|||
note: Misskey.entities.Note;
|
||||
}>();
|
||||
|
||||
const isLong = shouldCollapsed(props.note);
|
||||
const isLong = shouldCollapsed(props.note, []);
|
||||
|
||||
const collapsed = $ref(isLong);
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue