From 8467aff0807b9a6b7fd485f1972a1a38776b335d Mon Sep 17 00:00:00 2001 From: Evgeny Kochetkov Date: Fri, 19 Jul 2019 13:43:55 +0300 Subject: [PATCH] fix(xod-client): fix library publishing Broken in #1797 --- packages/xod-client/src/user/actions.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/xod-client/src/user/actions.js b/packages/xod-client/src/user/actions.js index 6a5cc4e5f..7641069d6 100644 --- a/packages/xod-client/src/user/actions.js +++ b/packages/xod-client/src/user/actions.js @@ -92,7 +92,9 @@ export const updateCompileLimit = (startup = false) => dispatch => { * a keycloak grant from server */ export const fetchGrant = (startup = false) => dispatch => - dispatch(refreshGrant()).then(() => dispatch(updateCompileLimit(startup))); + dispatch(refreshGrant()).then( + R.tap(() => dispatch(updateCompileLimit(startup))) + ); export const login = (username, password) => dispatch => { const form = new URLSearchParams();