Skip to content

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