Geo-Web-Project / browser

An interface that uses geolocation to navigate/resolve content on the Geo Web.
MIT License
3 stars 8 forks source link

fix: ensure only valid objects are passed to GWCanvas #50

Closed tnrdd closed 1 year ago

tnrdd commented 1 year ago

Description

Sometimes Ceramic's getStreamContent() return an empty object and it would cause the app to crash when passed to GWCanvas component. Rewrite parseMediaContent() of src/helpers/gwParser.js so that invalid media content is filtered out before being passed to GWCanvas.

Issue

fixes #49

Checklist:

Alert Reviewers

@codynhat @gravenp