billowy-area-88831
05/24/2024, 1:48 PMimport "./style.css"
import theme from "./theme.json"
import { MessageList, Container, WebchatProvider, useClient } from '@botpress/webchat'
const App = () => {
const client = useClient({ clientId: '453254325-54325-435-345-345534253' })
return (
<WebchatProvider client={client} theme={theme}>
<Container>
<MessageList />
</Container>
</WebchatProvider>
)
}
I put this in my react app but my bot doesn't seem to load, I have this default bot instead, and when I try to enter a message I have this error: "Unexpected state:disconnected"
has anyone managed to make the react component work ? Any help would really be appreciated !
https://cdn.discordapp.com/attachments/1243561164340727809/1243561164756090972/image.png?ex=6651ec15&is=66509a95&hm=8e1f6e8c6b50f36ff62240994523378824158fcaa514b0dd46707212bd778858&
https://cdn.discordapp.com/attachments/1243561164340727809/1243561165049696467/image.png?ex=6651ec15&is=66509a95&hm=14007f47d43fcc3c46302c2c0669dbc5314680965bfbea5abb05acde4121aef4&fresh-fireman-491
05/25/2024, 10:00 AMbillowy-area-88831
05/25/2024, 10:01 AMfresh-fireman-491
05/25/2024, 10:10 AMfierce-engineer-62122
05/29/2024, 1:33 PMfresh-fireman-491
05/29/2024, 1:45 PMfierce-engineer-62122
05/29/2024, 1:52 PMfierce-engineer-62122
05/29/2024, 3:02 PMbillowy-area-88831
06/04/2024, 1:17 PM