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

refactor: Removed use-prefers-color-scheme dependency #903

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

matthewlipski
Copy link
Collaborator

The use-prefers-color-scheme dependency is still causing issues in some NextJS projects. Since the import is really only one source file for the usePrefersColorScheme hook, this PR copies the code to a local file in react, omitting the dependency altogether.

Copy link

vercel bot commented Jul 3, 2024

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

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Jul 3, 2024 2:02pm
blocknote-website ✅ Ready (Inspect) Visit Preview Jul 3, 2024 2:02pm

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