Small refactor based on feedback

Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
This commit is contained in:
Andre Wanlin
2021-11-08 11:41:52 -06:00
parent 7468647b37
commit aff67e97eb
@@ -79,7 +79,7 @@ const columns: TableColumn[] = [
width: 'auto',
render: (row: Partial<PullRequest>) =>
DateTime.fromISO(
row.creationDate ? row.creationDate.toString() : new Date().toString(),
(row.creationDate ?? new Date()).toString(),
).toRelative(),
},
];