From e824404b69bac9fa9114fca2f97fea964f8799fb Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Fri, 30 Nov 2018 12:53:43 +0100 Subject: [PATCH] Fix a propType error with icons --- src/report-types.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/report-types.js b/src/report-types.js index 02a35ce..4687c8a 100644 --- a/src/report-types.js +++ b/src/report-types.js @@ -16,42 +16,42 @@ export default { accident: { description: 'reportLabels.accidentDescription', label: 'reportLabels.accident', - image: accidentIcon, + image: accidentIcon.toString(), marker: accidentMarker, markerLarge: accidentMarker, }, gcum: { description: 'reportLabels.gcumDescription', label: 'reportLabels.gcum', - image: gcumIcon, + image: gcumIcon.toString(), marker: gcumMarker, markerLarge: gcumMarker, }, interrupt: { description: 'reportLabels.interruptDescription', label: 'reportLabels.interrupt', - image: interruptIcon, + image: interruptIcon.toString(), marker: interruptMarker, markerLarge: interruptMarker, }, misc: { description: 'reportLabels.miscDescription', label: 'reportLabels.misc', - image: miscIcon, + image: miscIcon.toString(), marker: miscMarker, markerLarge: miscMarker, }, obstacle: { description: 'reportLabels.obstacleDescription', label: 'reportLabels.obstacle', - image: obstacleIcon, + image: obstacleIcon.toString(), marker: obstacleMarker, markerLarge: obstacleMarker, }, pothole: { description: 'reportLabels.potholeDescription', label: 'reportLabels.pothole', - image: potholeIcon, + image: potholeIcon.toString(), marker: potholeMarker, markerLarge: potholeMarker, },