Use HTMLWebpackPlugin
This commit is contained in:
@ -1,10 +1,9 @@
|
||||
import { GiteaUnauthorizedError } from "../../util/gitea";
|
||||
import { LOGOUT } from "../actions/logout";
|
||||
import { put } from 'redux-saga/effects';
|
||||
|
||||
export function* failuresSaga(action) {
|
||||
const err = action.error;
|
||||
if (err instanceof GiteaUnauthorizedError) {
|
||||
yield put({ type: LOGOUT });
|
||||
yield put(logout());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user