Added comment I forgot.
This commit is contained in:
parent
83982d8f88
commit
bcf5c30718
|
@ -234,12 +234,15 @@ export class MapContainer extends Component {
|
||||||
pinIcon = '/mapicons/other-icon.png'
|
pinIcon = '/mapicons/other-icon.png'
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return pinIcon;
|
return pinIcon;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Formats date using Moment.js.
|
||||||
|
*/
|
||||||
formatDate = date => {
|
formatDate = date => {
|
||||||
return (moment(date, "YYYY-MM").format("MMMM YYYY").toString())
|
return (moment(date, "YYYY-MM").format("MMMM YYYY").toString())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue