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({