From 8bc5832eac2651f2ca2a27c2393971edcb802296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Thu, 1 Oct 2020 17:15:33 +0200 Subject: [PATCH] Removing warning on startup --- front/src/Connexion/ConnectionManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/Connexion/ConnectionManager.ts b/front/src/Connexion/ConnectionManager.ts index 4df45099..59a54510 100644 --- a/front/src/Connexion/ConnectionManager.ts +++ b/front/src/Connexion/ConnectionManager.ts @@ -10,7 +10,7 @@ interface LoginApiData { } class ConnectionManager { - private initPromise: Promise = Promise.reject(); + private initPromise!: Promise; private mapUrlStart: string|null = null; private authToken:string|null = null;