From bcf5c3071880825d503bd917d36d09c4fe2203a0 Mon Sep 17 00:00:00 2001 From: wildscotsmen Date: Sun, 4 Nov 2018 22:05:41 -0500 Subject: [PATCH] Added comment I forgot. --- src/components/SightingMap.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/SightingMap.js b/src/components/SightingMap.js index 1e5fdd9..6d428e1 100644 --- a/src/components/SightingMap.js +++ b/src/components/SightingMap.js @@ -234,12 +234,15 @@ export class MapContainer extends Component { pinIcon = '/mapicons/other-icon.png' break; default: - break + break; } - + return pinIcon; } + /** + * Formats date using Moment.js. + */ formatDate = date => { return (moment(date, "YYYY-MM").format("MMMM YYYY").toString()) }