Skip to content

Neo4jProvider should not assume windows global #12

@stefanprobst

Description

@stefanprobst

currently, the Neo4jProvider assumes window is available (when trying to read from localStorage). this should either be wrapped with typeof window !== 'undefined', or moved into a useEffect, so it will work in frameworks like next.js. thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions