Skip to content

Commit

Permalink
🐛 fix: slove send button not work (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLY-yours authored Mar 20, 2024
1 parent 785166d commit ca771bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ProChat/components/InputArea/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export const ChatInputArea = (props: ChatInputAreaProps) => {
onClick: () => send(),
icon: <SendOutlined />,
} as const);
}, [isLoading]);
}, [isLoading, message]);

const defaultButtonDom = <Button {...defaultButtonProps} />;

Expand Down

0 comments on commit ca771bb

Please sign in to comment.