fix(frontend): MFM unixtimeのプレビューがリアルタイムで反映されない

Fix #12350
This commit is contained in:
syuilo 2023-11-17 15:33:57 +09:00
parent 1518c5ddb0
commit 5f5712a3ee

View file

@ -260,7 +260,11 @@ export default function(props: MfmProps) {
class: 'ti ti-clock',
style: 'margin-right: 0.25em;',
}),
h(MkTime, { time: unixtime * 1000, mode: 'detail' }),
h(MkTime, {
key: Math.random(),
time: unixtime * 1000,
mode: 'detail',
}),
]);
}
}