publish: correct timestamps on note navigation

Fixes #3489.
This commit is contained in:
Matilde Park 2020-09-18 21:26:37 -04:00
parent c19acbb041
commit e62411577a

View File

@ -10,7 +10,7 @@ function NavigationItem(props: {
date: number;
prev?: boolean;
}) {
const date = moment(date).fromNow();
const date = moment(props.date).fromNow();
return (
<Box
justifySelf={props.prev ? "start" : "end"}