mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-18 05:18:31 +00:00
🐛 fix: fix ChatInput send command switch (#9131)
fix command enter switch
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user