Skip to content
Snippets Groups Projects

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:

  1. authors field can be an array of strings of array of objects
  2. authors field was defined as string[] only, so zod validator rejected the whole API response
  3. 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

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading