We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bun i [email protected]
bun run dev
./node_modules/flowbite-react/lib/esm/components/DarkThemeToggle/DarkThemeToggle.js:5:0 Module not found: Can't resolve '~/src/hooks/use-is-mounted'
This may be due to wrong import in src/components/DarkThemeToggle/DarkThemeToggle.tsx
src/components/DarkThemeToggle/DarkThemeToggle.tsx
import { useIsMounted } from '~/src/hooks/use-is-mounted';
change import to
import { useIsMounted } from '../../hooks/use-is-mounted';
The text was updated successfully, but these errors were encountered:
fix(darkthemetoggle): change path for import useIsMounted
df6695f
fix themesberg#1182
thank you @SutuSebastian 🙌
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Steps to reproduce
bun i [email protected]
bun run dev
Current behavior
This may be due to wrong import in
src/components/DarkThemeToggle/DarkThemeToggle.tsx
import { useIsMounted } from '~/src/hooks/use-is-mounted';
Expected behavior
change import to
import { useIsMounted } from '../../hooks/use-is-mounted';
The text was updated successfully, but these errors were encountered: