TP-17651 | Config Name changed
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user