From 942516f64ff0690c7bcd5630d8ceb2447ae32a16 Mon Sep 17 00:00:00 2001 From: Ferit Topcu Date: Wed, 6 Mar 2019 19:46:01 +0100 Subject: [PATCH] GH-501 remove unused code --- client/actions/checks.js | 2 -- client/reducers/repos/checks.js | 1 - 2 files changed, 3 deletions(-) diff --git a/client/actions/checks.js b/client/actions/checks.js index 004ea98a..4a456118 100644 --- a/client/actions/checks.js +++ b/client/actions/checks.js @@ -1,11 +1,9 @@ import CheckService from '../service/CheckService' import { PENDING, SUCCESS, ERROR } from '../actions/status' -import { requestReposIfNeeded } from '../actions/repos' export const PUT_CHECK = Symbol('put check') export const DELETE_CHECK = Symbol('delete check') export const REFRESH_TOKEN = Symbol('refresh token') -export const RELOAD_REPO_DETAIL = Symbol ('reload repo detail') function putCheck(status, payload = null) { diff --git a/client/reducers/repos/checks.js b/client/reducers/repos/checks.js index 371f2577..08fd6015 100644 --- a/client/reducers/repos/checks.js +++ b/client/reducers/repos/checks.js @@ -84,7 +84,6 @@ export default function checks(state = { isRefreshingToken: false, error: false} case PENDING: return {...state, isRefreshingToken: true} case SUCCESS: - // console.log(action.payload); return { ...state, isRefreshingToken: false,