mirror of
https://github.com/langgenius/dify.git
synced 2026-05-11 14:58:23 +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 |
||
|---|---|---|
| .. | ||
| index.tsx | ||
| list.tsx | ||
| uninstalled-item.tsx | ||