-
Since I upgraded to beta.15, I am getting these errors when I start the development server:
Ideas? |
Beta Was this translation helpful? Give feedback.
Answered by
djipco
Jan 31, 2022
Replies: 2 comments 3 replies
-
Breaking change introduced in #6289. Please read the changelog carefully and reswizzle your component accordingly. |
Beta Was this translation helpful? Give feedback.
0 replies
-
So, I changed this: import useThemeContext from '@theme/hooks/useThemeContext';
import useHideableNavbar from '@theme/hooks/useHideableNavbar';
import useLockBodyScroll from '@theme/hooks/useLockBodyScroll';
import useWindowSize from '@theme/hooks/useWindowSize'; To this: import {
useThemeConfig,
useColorMode,
useHideableNavbar,
useLockBodyScroll,
useWindowSize,
} from '@docusaurus/theme-common'; ... and a few errors disappeared. However, I'm not sure what to do with : import {useActivePlugin} from '@theme/hooks/useDocs'; Suggestions? |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
slorber
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So, I changed this:
To this:
... and a few errors disappeared.
However, I'm not sure what to do with :
Suggestions?