fix(ui): fix deletion issue for topmost quick reply #21

This commit is contained in:
Osho957 2024-09-22 21:35:13 +05:30
parent fe8e4e7b94
commit a0fa0b5443

View File

@ -58,7 +58,6 @@ const QuickRepliesInput: FC<QuickRepliesInput> = ({
};
useEffect(() => {
onChange(quickReplies.map(({ value }) => value));
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [quickReplies]);