From eb7f60c721b6c20e45051567de09494670159274 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Tue, 3 Sep 2024 13:39:06 +0200 Subject: [PATCH] fix scopestate var name --- frontend/app/duck/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/duck/user.js b/frontend/app/duck/user.js index 687a993ac..cc65352fb 100644 --- a/frontend/app/duck/user.js +++ b/frontend/app/duck/user.js @@ -76,7 +76,7 @@ const reducer = (state = initialState, action = {}) => { case LOGIN.REQUEST: return state.set('loginRequest', { loading: true, errors: [] }); case LOGIN.SUCCESS: - console.log(action) + return state .set('account', Account({ ...action.data.data.user })) .set('spotJwt', action.data.spotJwt) .set('scope', action.data.data.scopeState)