diff --git a/app/src/controllers/project/sagas.js b/app/src/controllers/project/sagas.js index fd0b1f11e6..6204ffa815 100644 --- a/app/src/controllers/project/sagas.js +++ b/app/src/controllers/project/sagas.js @@ -75,7 +75,7 @@ import { setProjectNotificationsLoadingAction, fetchExistingLaunchNamesSuccessAction, } from './actionCreators'; -import { patternsSelector, projectNotificationsSelector } from './selectors'; +import { patternsSelector } from './selectors'; function* updateDefectType({ payload: defectTypes }) { yield put(showScreenLockAction()); @@ -210,11 +210,6 @@ function* addProjectNotification({ payload: notification }) { data: notification, }); - const notifications = yield select(projectNotificationsSelector); - if (!notifications.length) { - yield call(updateNotificationState, { notificationState: true }); - } - yield put(addProjectNotificationSuccessAction({ ...notification, ...response })); yield put( showNotification({