Closed revolunet closed 1 year ago
Released in version 3.4.6, don't hesitate to reopen an issue if the problem comes from another component
Thanks !
:tada: This issue has been resolved in version 3.4.9 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Looks like some recent changes introduced some SSR-incompatible code.
I think it comes from
window
access here : https://github.com/dataesr/react-dsfr/blob/master/src/components/interface/SwitchTheme/SwitchTheme.js#L62window
existence could be tested before access, ex :typeof window!=="undefined" && window.localStorage.getItem("prefers-color-scheme")