mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-02-15 05:07:35 +00:00
refactor(sidebar): integrate settings modal into SidebarModals and update props
This commit is contained in:
@@ -480,6 +480,9 @@ export function useProjectsState({
|
||||
loadingProgress,
|
||||
onRefresh: handleSidebarRefresh,
|
||||
onShowSettings: () => setShowSettings(true),
|
||||
showSettings,
|
||||
settingsInitialTab,
|
||||
onCloseSettings: () => setShowSettings(false),
|
||||
isMobile,
|
||||
}),
|
||||
[
|
||||
@@ -493,8 +496,10 @@ export function useProjectsState({
|
||||
isMobile,
|
||||
loadingProgress,
|
||||
projects,
|
||||
settingsInitialTab,
|
||||
selectedProject,
|
||||
selectedSession,
|
||||
showSettings,
|
||||
],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user