From a651d2b006d89544fd3cf4e0699e2a6803335346 Mon Sep 17 00:00:00 2001 From: yashmantri Date: Sun, 7 May 2023 11:47:22 +0530 Subject: [PATCH] TP-17651 | Config Name changed --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 4907729..fc45527 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -29,7 +29,7 @@ const App = () => { const isWriteAllowed = checkLitmusWritePermission(permissions); useEffect(() => { - if ((window as any)?.config?.ENVIRONMENT === 'prod' || reactToken) { + if ((window as any)?.config?.ENV === 'prod' || reactToken) { localStorage.removeItem('auth-token'); auth .init({