Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 fix: fix ChatInput send command switch (#9131)

Arvin Xu4d5246acd85e
diff --git a/src/features/ChatInput/StoreUpdater.tsx b/src/features/ChatInput/StoreUpdater.tsx
index 4223e11a4e1..3751f314b6a 100644
--- a/src/features/ChatInput/StoreUpdater.tsx
+++ b/src/features/ChatInput/StoreUpdater.tsx
@@ -19,12 +19,14 @@ const StoreUpdater = memo<StoreUpdaterProps>(
rightActions,
onSend,
onMarkdownContentChange,
+ sendMenu,
}) => {
const storeApi = useStoreApi();
const useStoreUpdater = createStoreUpdater(storeApi);
const editor = useChatInputEditor();
useStoreUpdater('mobile', mobile);
+ useStoreUpdater('sendMenu', sendMenu);
useStoreUpdater('leftActions', leftActions);
useStoreUpdater('rightActions', rightActions);