Updated the ChatInput and LexicalRichEditor components to streamline the logic for determining if the editor is empty. The isEmpty state now directly utilizes the $getRoot().isEmpty() method, enhancing code clarity and maintainability. Removed unnecessary text content checks in favor of a more efficient approach. Signed-off-by: Innei <tukon479@gmail.com> |
||
|---|---|---|
| .. | ||
| atoms | ||
| components | ||
| constants | ||
| database | ||
| hooks | ||
| logger | ||
| models | ||
| shared | ||
| store | ||
| tracker | ||
| types | ||
| utils | ||
| AGENTS.md | ||