react-chatbot-kit icon indicating copy to clipboard operation
react-chatbot-kit copied to clipboard

Not able to remove prevState messages

Open pavansai2299 opened this issue 3 years ago • 0 comments

Hi, I want to remove prevState messages in chatbot state conditionally. Sample code is for reference.

image

However, I am getting the below error

image

The idea is that I should be able to remove the previous chatbot messages so that they cannot be displayed in UI.

please help me with this issue.

pavansai2299 avatar Aug 10 '21 12:08 pavansai2299