fix: renew without params

This commit is contained in:
zerosoul
2022-03-22 17:13:40 +08:00
parent a23800b042
commit 4e56f15e24
6 changed files with 15 additions and 11 deletions
-1
View File
@@ -54,7 +54,6 @@ const baseQueryWithTokenCheck = async (args, api, extraOptions) => {
);
result = await waitingForRenew;
waitingForRenew = null;
// console.log({ refreshResult });
if (result.data) {
// store the new token
api.dispatch(updateToken(result.data));