mirror of
https://github.com/langgenius/dify.git
synced 2026-05-10 22:28:55 +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 |
||
|---|---|---|
| .. | ||
| chat-wrapper.tsx | ||
| conversation-variable-modal.tsx | ||
| empty.tsx | ||
| hooks.ts | ||
| index.spec.tsx | ||
| index.tsx | ||
| user-input.tsx | ||