Skip to content

Commit

Permalink
fix(frontend): MFM unixtimeのプレビューがリアルタイムで反映されない
Browse files Browse the repository at this point in the history
Fix #12350
  • Loading branch information
syuilo committed Nov 17, 2023
1 parent 1518c5d commit 5f5712a
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -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',
}),
]);
}
}
Expand Down

0 comments on commit 5f5712a

Please sign in to comment.