soullivaneuh
**Describe the bug** The is missing: ``` TypeError: document.styleSheets.item is not a function ❯ src/hooks/useThemeSwitch/useThemeSwitch.ts:27:47 25| useEffect(() => { 26| for (let s = 0; s < document.styleSheets.length; s += 1) { 27| const styleSheet = document.styleSheets.item(s); | ^ 28| 29| if (typeof styleSheet?.cssRules !== 'undefined') { ``` **Device and details:** - OS: Linux - Node version: Bun 1.4.2 - Package version: 20.14.5 **Additional context** MDN documentation: https://developer.mozilla.org/en-US/docs/Web/API/StyleSheetList/item