From cdbfa1ecaaf3acd666890f83a59fc5abe4784478 Mon Sep 17 00:00:00 2001 From: Martin Lopez Date: Mon, 13 Nov 2023 17:04:19 -0300 Subject: [PATCH] refactor: remove debugger call Closes #3 --- .../flowingcode/vaadin/addons/chatassistant/ChatAssistant.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistant.java b/src/main/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistant.java index 6ab0457..d85660c 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistant.java +++ b/src/main/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistant.java @@ -67,7 +67,7 @@ public void toggle() { public void sendMessage(Message message) { getElement() .executeJs( - "setTimeout(() => {debugger;this.sendMessage(null, JSON.parse($0));})", message.getJsonObject().toJson()); + "setTimeout(() => {this.sendMessage(null, JSON.parse($0));})", message.getJsonObject().toJson()); } /**