mirror of
https://github.com/wassname/talk.git
synced 2026-07-23 13:10:20 +08:00
Linting
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user