File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,15 +60,15 @@ function AppInner() {
6060 // Auto-collapse sidebar on mobile by default
6161 const isMobile = typeof window !== "undefined" && window . innerWidth <= 768 ;
6262 const [ sidebarCollapsed , setSidebarCollapsed ] = usePersistedState ( "sidebarCollapsed" , isMobile ) ;
63-
63+
6464 // Theme state (global, not workspace-specific)
6565 const [ theme , setTheme ] = usePersistedState < "light" | "dark" > ( THEME_KEY , "dark" ) ;
66-
66+
6767 // Apply theme to document root
6868 useEffect ( ( ) => {
6969 document . documentElement . dataset . theme = theme ;
7070 } , [ theme ] ) ;
71-
71+
7272 const defaultProjectPath = getFirstProjectPath ( projects ) ;
7373 const creationChatInputRef = useRef < ChatInputAPI | null > ( null ) ;
7474 const creationProjectPath = ! selectedWorkspace
You can’t perform that action at this time.
0 commit comments