Exception in rendering! Message: window is not defined ReferenceError: window is not defined at useMaterialPickers (webpack:///./hooks/useMaterialPickers.tsx?:151:25) at BlockDetailsAttachments (webpack:///./components/block/BlockDetails.jsx_+_6_modules?:305:44) at eval (webpack:///../../node_modules/mobx-react-lite/es/index.js_+_13_modules?:299:49) at useObserver (webpack:///../../node_modules/mobx-react-lite/es/index.js_+_13_modules?:186:16) at BlockDetailsAttachments (webpack:///../../node_modules/mobx-react-lite/es/index.js_+_13_modules?:299:16) at Db (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:61:44) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:63:254) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:67:52) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:89) at Hb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:71:98) at Ib (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:70:404) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:217) at Hb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:71:98) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:64:145) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:89) at Hb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:71:98) at Ib (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:70:404) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:217) at Hb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:71:98) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:64:145) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:89) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:67:245) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:89) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:63:482) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:89) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:63:482) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:67:52) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:89) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:63:482) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:67:52) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:89) at Hb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:71:98) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:64:145) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:89) at Hb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:71:98) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:64:145) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:89) at Hb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:71:98) at Ib (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:70:404) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:217) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:64:479) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:89) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:63:482) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:67:52) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:89) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:67:245) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:89) at Gb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:63:482) at X (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:69:89) at Hb (webpack:///../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js?:71:98)