fix: map render not working with covid map
Closes MIN-186
Issue identified:
Map render is not working, thrown error tells that "mapSize" is not updated properly (there are still default values)
Source of the issue:
-
authors
field can be an array of strings of array of objects -
authors
field was defined asstring[]
only, so zod validator rejected the whole API response - As API response was rejected,
mapSize
couldn't be updated properly
Additional fixes:
- there were issues with import of
PinType
, so I've fixed it here. It probably comes from merge error