From 0e60d4cc18d6b2ea9a8d69906a078109bcc94cdc Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 17 Feb 2024 18:41:12 +0100 Subject: [PATCH] fix(ui): remove incorrect async on WS open callback MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- ui/web/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/web/src/main.ts b/ui/web/src/main.ts index 27405eb6..bce88243 100644 --- a/ui/web/src/main.ts +++ b/ui/web/src/main.ts @@ -13,7 +13,7 @@ const initializeApp = (config: ConfigurationData) => { // TODO: Add code for UI notifications or other error handling logic } app.config.globalProperties.$uiClient = UIClient.getInstance(config) - app.config.globalProperties.$uiClient.registerWSonOpenListener(async () => { + app.config.globalProperties.$uiClient.registerWSonOpenListener(() => { app.config.globalProperties.$uiClient .listChargingStations() .then((response: ResponsePayload) => { -- 2.34.1