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

fix: add browser check in media query #137

Merged
merged 5 commits into from
Sep 29, 2024
Merged

fix: add browser check in media query #137

merged 5 commits into from
Sep 29, 2024

Conversation

huntabyte
Copy link
Member

We weren't performing if (browser) checks before attempting to access window.matchMedia causing apps to crash during SSR.

Copy link

changeset-bot bot commented Sep 29, 2024

🦋 Changeset detected

Latest commit: 9d41df9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
runed Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Sep 29, 2024

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
runed ✅ Ready (View Log) Visit Preview 9d41df9

@huntabyte huntabyte merged commit a153f13 into main Sep 29, 2024
4 checks passed
@huntabyte huntabyte deleted the fix-media-query branch September 29, 2024 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant