diff --git a/lib/ChatBot.js b/lib/ChatBot.js index c88d8fc..d09f0c4 100644 --- a/lib/ChatBot.js +++ b/lib/ChatBot.js @@ -46,7 +46,7 @@ class ChatBot extends Component { this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', this.setScrollViewScrollToEnd); } - componentWillMount() { + componentDidMount() { const { botDelay, botAvatar,