You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can only be reproduced on deployed url (works fine on local dev server)
When passing accessToken to <AddressMinimap accessToken="..." />, and navigating to a page where Minimap is rendered, the request is made with accessToken=undefined, but works correctly on subsequent re-renders (when feature changes for example). I found a workaround by setting accessToken to a config singleton at the top of the file
config.accessToken = MAPBOX_API_TOKEN
But feels like this useEffect in mapbox react code doesn't work correctly.
Can only be reproduced on deployed url (works fine on local dev server)
When passing
accessToken
to<AddressMinimap accessToken="..." />
, and navigating to a page where Minimap is rendered, the request is made with accessToken=undefined, but works correctly on subsequent re-renders (when feature changes for example). I found a workaround by settingaccessToken
to a config singleton at the top of the fileBut feels like this useEffect in mapbox react code doesn't work correctly.
The text was updated successfully, but these errors were encountered: