fix: board not found flicker on reloading public boards (#149)

* fix: board not found flicker on reloading public boards

* fix: using netx-theme's ThemeProvider

* chore: installing next-theme

* fix: theme issue on landing page

* fix: image theme hydration issue
This commit is contained in:
Ridham Khandar
2025-08-22 20:58:59 +05:30
committed by GitHub
parent ba2fd7f695
commit 3233c35836
11 changed files with 53 additions and 40 deletions

View File

@@ -18,7 +18,7 @@ import settingsIconLight from "~/assets/settings-light.json";
import ReactiveButton from "~/components/ReactiveButton";
import UserMenu from "~/components/UserMenu";
import WorkspaceMenu from "~/components/WorkspaceMenu";
import { useTheme } from "~/providers/theme";
import { useTheme } from "next-themes";
interface SideNavigationProps {
user: UserType;
@@ -59,9 +59,9 @@ export default function SideNavigation({
const { pathname } = router;
const { activeTheme } = useTheme();
const { theme, resolvedTheme } = useTheme();
const isDarkMode = activeTheme === "dark";
const isDarkMode = resolvedTheme === "dark";
const navigation = [
{