refactor(sidebar): integrate settings modal into SidebarModals and update props

This commit is contained in:
Haileyesus
2026-02-07 16:52:52 +03:00
parent 2c5e534121
commit fdf2b09290
5 changed files with 45 additions and 23 deletions

View File

@@ -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,
],
);