mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
Move activeTabId and fileMetadata reads from selector subscriptions to getState() calls inside the callback. These values were only used in the insertTools callback, not for rendering, causing unnecessary re-renders when they changed. |
||
|---|---|---|
| .. | ||
| skill-editor | ||
| code-file-editor.tsx | ||
| markdown-file-editor.tsx | ||
| media-file-preview.tsx | ||
| office-file-placeholder.tsx | ||
| unsupported-file-download.tsx | ||