1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-27 22:38:34 +09:00

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',
}),
]);
}
}