Exception in rendering!

Message: window is not defined

ReferenceError: window is not defined
    at eval (webpack:///./frontend/javascript/src/apps/server-bundle.js_+_369_modules?:46001:22)
    at Object.Ia [as useMemo] (webpack:///./node_modules/react-dom/cjs/react-dom-server.browser.production.min.js?:27:240)
    at exports.useMemo (webpack:///./node_modules/react/cjs/react.production.min.js?:23:113)
    at ShareButtons_ShareButtons (webpack:///./frontend/javascript/src/apps/server-bundle.js_+_369_modules?:46000:44)
    at d (webpack:///./node_modules/react-dom/cjs/react-dom-server.browser.production.min.js?:33:498)
    at ab (webpack:///./node_modules/react-dom/cjs/react-dom-server.browser.production.min.js?:36:16)
    at a.b.render (webpack:///./node_modules/react-dom/cjs/react-dom-server.browser.production.min.js?:42:43)
    at a.b.read (webpack:///./node_modules/react-dom/cjs/react-dom-server.browser.production.min.js?:41:83)
    at Object.exports.renderToString (webpack:///./node_modules/react-dom/cjs/react-dom-server.browser.production.min.js?:50:494)
    at Object.serverRenderReactComponent [as default] (webpack:///./node_modules/react-on-rails/node_package/lib/serverRenderReactComponent.js?:51:47)
Your Cart
Close
Your cart is empty