Skip to content

[Bug]: Uncaught TypeError: window.__setPreferredTheme is not a function #7742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Rudxain opened this issue Apr 16, 2025 · 0 comments
Open

Comments

@Rudxain
Copy link

Rudxain commented Apr 16, 2025

Summary

The dark/light button doesn't work

Page

https://react.dev/reference/react

Details

Console:

Uncaught TypeError: window.__setPreferredTheme is not a function
    NextJS 7
14-7422871710f1e520.js:1:209365
Uncaught TypeError: window.__setUwu is not a function
    NextJS 7
14-7422871710f1e520.js:1:58957

Yes, the "uwu?" button also doesn't work.

The hamburger menu and search button do work as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant