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

Page crash because of useColorMode #227

Open
xgp opened this issue Nov 18, 2022 · 1 comment
Open

Page crash because of useColorMode #227

xgp opened this issue Nov 18, 2022 · 1 comment

Comments

@xgp
Copy link

xgp commented Nov 18, 2022

image

On upgrading to docusaurus 2.2.0 and docusaurus-preset-openapi 0.6.3, i get the error when navigating the API methods:

This page crashed.
Hook useColorMode is called outside the <ColorModeProvider>. Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.

Try again
@officert
Copy link

Running into this as well

"@docusaurus/core": "2.2.0",
"docusaurus-preset-openapi": "^0.6.3",
``

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

No branches or pull requests

2 participants