From 5addb6976fc059a821335c56a7de0cdaac978241 Mon Sep 17 00:00:00 2001 From: Nicolas Burtey Date: Thu, 27 Jul 2023 12:23:43 +0100 Subject: [PATCH] chore: improve "alert" --- lib/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config.ts b/lib/config.ts index 42160a51..946c7648 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -25,7 +25,7 @@ if (!GRAPHQL_HOSTNAME) { hostParts[0] = "ws" GRAPHQL_WEBSOCKET_URL = `wss://${hostParts.join(".")}/graphql` } else { - alert("window is undefined") + console.log("window is undefined") } }