1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-30 18:49:44 +02:00

Rename deadline to due date, update dependencies

This commit is contained in:
Maksim Eltyshev 2019-10-05 06:12:36 +05:00
parent 64acf0ac56
commit 51013b6a32
31 changed files with 113 additions and 115 deletions

View file

@ -1,4 +1,6 @@
import { call, select, put } from 'redux-saga/effects';
import {
call, put, select, take,
} from 'redux-saga/effects';
import { accessTokenSelector } from '../../../selectors';
import { logout } from '../../../actions';
@ -14,6 +16,7 @@ export default function* (method, ...args) {
} catch (error) {
if (error.code === ErrorCodes.UNAUTHORIZED) {
yield put(logout()); // TODO: next url
yield take();
}
throw error;