Fix a propType error with icons

This commit is contained in:
Lucas Verney 2018-11-30 12:53:43 +01:00
parent 49e1d70891
commit e824404b69

View File

@ -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,
},