LucasBassetti / react-simple-chatbot

:speech_balloon: Easy way to create conversation chats
https://lucasbassetti.com.br/react-simple-chatbot/
MIT License
1.73k stars 598 forks source link

React does not recognize the `previousStep` prop on a DOM element #261

Open daniel-moya opened 4 years ago

daniel-moya commented 4 years ago

Describe the bug

Console Warning when using ChatBot component

Warning: React does not recognize the `previousStep` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `previousstep` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Warning: React does not recognize the `triggerNextStep` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `triggernextstep` instead. If you accidentally passed it from a parent component, remove it from the DOM element.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'react project'
  2. Click on 'console
  3. See error

Expected behavior

Avoid warning on console

Screenshots

image image

Desktop (please complete the following information):

luz-ojeda commented 2 years ago

Is there any update on this? I think it is related to https://github.com/LucasBassetti/react-simple-chatbot/issues/64, has it been fixed?