mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(ui): fix deletion issue for topmost quick reply #21
This commit is contained in:
parent
fe8e4e7b94
commit
a0fa0b5443
@ -58,7 +58,6 @@ const QuickRepliesInput: FC<QuickRepliesInput> = ({
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
onChange(quickReplies.map(({ value }) => value));
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [quickReplies]);
|
||||
|
Loading…
Reference in New Issue
Block a user