From 43ed307955b6e6c3217cd87568f6877fc8708540 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Fri, 2 Feb 2018 23:32:02 +0000 Subject: [PATCH] make #href uniqu --- client/src/LatestList.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/LatestList.js b/client/src/LatestList.js index afe231a..c6ef828 100644 --- a/client/src/LatestList.js +++ b/client/src/LatestList.js @@ -5,9 +5,10 @@ export default function(props) { const latest = props.latest || []; const latestElements = latest.map(item => { const created = new Date(item.created); + const hrefId = `#item-${item.id}`; return (
  • - props.onSelect(item)}>{created.toLocaleString()} + props.onSelect(item)}>{created.toLocaleString()}