mirror of
https://github.com/langgenius/dify.git
synced 2026-01-14 06:07:33 +08:00
Centralize server/client environment detection by introducing a dedicated utility file instead of repeating `typeof window === 'undefined'` checks across the codebase. This improves code maintainability and consistency across 8 files with 15 occurrences. Closes #30802 |
||
|---|---|---|
| .. | ||
| hooks | ||
| app-card-skeleton.tsx | ||
| app-card.spec.tsx | ||
| app-card.tsx | ||
| empty.spec.tsx | ||
| empty.tsx | ||
| footer.spec.tsx | ||
| footer.tsx | ||
| index.spec.tsx | ||
| index.tsx | ||
| list.spec.tsx | ||
| list.tsx | ||
| new-app-card.spec.tsx | ||
| new-app-card.tsx | ||