From 7cf915881e8b1d7dbd5647c632d2761c14f92455 Mon Sep 17 00:00:00 2001 From: Daniel Jaimes <49213605+LuisDanielJaimes@users.noreply.github.com> Date: Wed, 26 May 2021 21:19:55 -0500 Subject: [PATCH] Update index.js Error when you start the chat in first time --- LiveChat/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LiveChat/index.js b/LiveChat/index.js index 8f4fc6f..c6810f9 100644 --- a/LiveChat/index.js +++ b/LiveChat/index.js @@ -161,7 +161,7 @@ export default class LiveChat extends Component { }) .then((chat) => { this.setState({ - chatId: chat.chat, + chatId: chat.chat.id, chatActive: true, }) })