Skip to content

Commit

Permalink
SOROKA-151-2: Map parser fix (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
boatincow authored Oct 21, 2022
1 parent 0baabf3 commit b18004e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/InteractiveMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const getCoordinatesFromCardData = (cardProps: CardProps) => {
const getAnnotationFromCardData = (props: CardProps) => {
const annotationProperty = props.find((item) => item.propertyId === ANNOTATION_PROPERTY_ID);
if (annotationProperty) {
return JSON.parse(annotationProperty.data);
return annotationProperty.data;
}

return "-";
Expand Down

0 comments on commit b18004e

Please sign in to comment.