Skip to content
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

chore: Add browser window check in usePreferredColorScheme #1424

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

cpcramer
Copy link
Contributor

@cpcramer cpcramer commented Oct 16, 2024

What changed? Why?
Add browser window check to avoid server side errors when the browser window does not exist.

Notes to reviewers

How has it been tested?

Copy link

vercel bot commented Oct 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onchainkit-coverage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 6:56pm
onchainkit-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 6:56pm
onchainkit-routes ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 6:56pm

@github-actions github-actions bot added the root label Oct 16, 2024
@cpcramer cpcramer changed the title Add window check for server side errors chore: Add browser window check in usePreferredColoScheme Oct 16, 2024
@cpcramer cpcramer merged commit e3ae0c3 into main Oct 16, 2024
16 checks passed
@cpcramer cpcramer deleted the paul/window-check branch October 16, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants