adam-cowley/use-neo4j

Neo4jProvider should not assume `windows` global

Opened this issue · 0 comments

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!