Skip to content

Bug: Cannot read properties of undefined (reading 'recentlyCreatedOwnerStacks') #257

@Gavin-Guiii

Description

@Gavin-Guiii

@mapcomponents/react-maplibre version: 1.8.5

Steps To Reproduce

  1. Create a new npm project
  2. Add @mapcomponents/react-maplibre 1.8.5 package to the project
  3. Add React 17 or 18 to the project
  4. Import MapComponentsProvider

Link to code example:
https://codesandbox.io/p/devbox/base-template-forked-l4ls3w

(Note that this is a fork of the official base template. I only changed the version of @mapcomponents/react-maplibre to '1.8.5')

The current behavior

Throwing the following error:
Cannot read properties of undefined (reading 'recentlyCreatedOwnerStacks')

Image

The expected behavior

Display the map without throwing the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions