diff --git a/frontend/common/stores/project-store.js b/frontend/common/stores/project-store.js index 18b9ef138064..8d9174d8a704 100644 --- a/frontend/common/stores/project-store.js +++ b/frontend/common/stores/project-store.js @@ -146,6 +146,7 @@ const controller = { }) .catch(() => { if (!getIsWidget()) { + AsyncStorage.removeItem('lastEnv') document.location.href = '/404?entity=project' } })