dify/web/app/components/workflow/block-selector/rag-tool-recommendations
yyh 6285a59508
refactor(web): extract isServer/isClient utility for consistent environment detection
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
2026-01-10 12:51:39 +08:00
..
index.tsx refactor(web): extract isServer/isClient utility for consistent environment detection 2026-01-10 12:51:39 +08:00
list.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
uninstalled-item.tsx refactor(i18n): about locales (#30336) 2025-12-30 14:38:23 +08:00