From 4464183b42a44a20a550963d8a4f2f11af740f96 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Thu, 1 Feb 2018 18:25:35 +0100 Subject: [PATCH] Linting --- client/coral-admin/src/actions/auth.js | 1 - 1 file changed, 1 deletion(-) diff --git a/client/coral-admin/src/actions/auth.js b/client/coral-admin/src/actions/auth.js index 3209a1aaf..193c6ac44 100644 --- a/client/coral-admin/src/actions/auth.js +++ b/client/coral-admin/src/actions/auth.js @@ -156,7 +156,6 @@ export const checkLogin = () => ( export const logout = () => (dispatch, _, { rest, client, localStorage }) => { return rest('/auth', { method: 'DELETE' }).then(() => { - if (localStorage) { localStorage.removeItem('token'); localStorage.removeItem('exp');