Use HTMLWebpackPlugin

This commit is contained in:
2019-12-13 14:21:20 +01:00
parent a7f0eabb97
commit 0074f318fd
7 changed files with 376 additions and 23 deletions

View File

@ -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());
}
}