mirror of
https://github.com/langgenius/dify.git
synced 2026-05-11 14:58:23 +08:00
- Remove appDetail and setAppDetail from Zustand store - Use useAppDetail hook for server state management - Child components now call useAppDetail(appId) directly via useParams() - Replace setAppDetail calls with useInvalidateAppDetail for cache invalidation - Keep only client UI state in Zustand (sidebar, modals) - Split sidebar initialization useEffect for clearer separation of concerns - Update test mocks to use TanStack Query pattern - Fix missing dependencies in use-checklist.ts useMemo/useCallback hooks |
||
|---|---|---|
| .. | ||
| components | ||
| utils | ||
| default.ts | ||
| node.tsx | ||
| panel.tsx | ||
| types.ts | ||
| use-config.ts | ||