currently, the [`Neo4jProvider` assumes `window` is available (when trying to read from `localStorage`)](https://github.com/adam-cowley/use-neo4j/blob/main/src/neo4j.provider.tsx#L31). this should either be wrapped with `typeof window !== 'undefined'`, or moved into a `useEffect`, so it will work in frameworks like next.js. thanks!
currently, the
Neo4jProviderassumeswindowis available (when trying to read fromlocalStorage). this should either be wrapped withtypeof window !== 'undefined', or moved into auseEffect, so it will work in frameworks like next.js. thanks!