Fix sidebar hydration flash

This commit is contained in:
2026-03-12 16:29:28 -04:00
parent b39bc9eccd
commit b9a1d8ba40
4 changed files with 74 additions and 12 deletions

View File

@@ -0,0 +1,7 @@
export const SIDEBAR_PREFERENCE_KEY = "fiscal-shell-sidebar-collapsed";
export function parseSidebarPreference(
value: string | null | undefined,
): boolean {
return value === "true";
}