--- orig/index.jsx 2021-10-11 21:08:09.858345720 -0300 +++ sources-gen/index.jsx 2021-10-11 21:09:05.158218059 -0300 @@ -30,7 +30,7 @@ cache: cache.restore(window.__APOLLO_STATE__), // eslint-disable-line no-underscore-dangle }); -ReactDOM.hydrate( +ReactDOM.render( --- orig/utils/ssr.jsx 2021-10-11 21:17:02.041396123 -0300 +++ sources-gen/utils/ssr.jsx 2021-10-11 21:22:17.825984088 -0300 @@ -1,7 +1,3 @@ -function isServer() { +export function isServer() { return !(typeof window !== 'undefined' && window.document); } -// CommonJS export to be able to use it on server and client -module.exports = { - isServer, -};