TP-17651 | Config Name changed

This commit is contained in:
yashmantri
2023-05-07 11:47:22 +05:30
parent 5039a36345
commit a651d2b006

View File

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