Yoctol / react-messenger-customer-chat

React component for messenger customer chat plugin
MIT License
272 stars 69 forks source link

Error when component is mounted #72

Open thangdev opened 3 years ago

thangdev commented 3 years ago

Uncaught TypeError: Cannot read property 'hideDialog' of undefined image

System Information OS: Ubuntu 20.04 LTS Browser: Chrome Version 89.0.4389.82

Context Plugin was implemented in Reactjs v16.13.1 I set the appId="" (blank string) and the module still works well

Steps to replicate When the page is loaded, inspect the chrome devtool, then the error Uncaught TypeError: Cannot read property 'hideDialog' of undefined appears

NPZlatu commented 3 years ago

I am facing the similar issue from this morning. Any workaround?

thangdev commented 3 years ago

@itsmenirajpaudel, please follow the discussion on this isssue https://github.com/Yoctol/react-messenger-customer-chat/issues/73 May be it can help you fix this error

khaphannm commented 3 years ago

@itsmenirajpaudel Please have a look on this https://github.com/Yoctol/react-messenger-customer-chat/issues/73#issuecomment-807892518