Open rrupnoor opened 1 year ago
Describe the bug whenever steps list is added a new item, its getting duplicated in chatbox
import React, { Component } from 'react'; import ChatBot from 'react-simple-chatbot';
class App extends Component { render() { return ( <ChatBot steps={[ { id:'intro', message:'Hello. What is your name?', trigger:'intro1' } , { id:'intro1', message:'Hello', end:true } ]} /> ); }
}
export default App;
Hello is coming twice after running the application
I think it's a duplicate of #346
Describe the bug whenever steps list is added a new item, its getting duplicated in chatbox
import React, { Component } from 'react'; import ChatBot from 'react-simple-chatbot';
class App extends Component { render() { return ( <ChatBot steps={[ { id:'intro', message:'Hello. What is your name?', trigger:'intro1' } , { id:'intro1', message:'Hello', end:true }
]} /> ); }
}
export default App;
Hello is coming twice after running the application