Fix test
This commit is contained in:
parent
c5f7c93996
commit
93fe0708cd
1 changed files with 2 additions and 2 deletions
|
@ -75,9 +75,9 @@ export const loadingBarMiddleware = (
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isPending) {
|
if (isPending) {
|
||||||
dispatch(showLoading());
|
dispatch(showLoading() as UnknownAction);
|
||||||
} else if (isFulfilled || isRejected) {
|
} else if (isFulfilled || isRejected) {
|
||||||
dispatch(hideLoading());
|
dispatch(hideLoading() as UnknownAction);
|
||||||
}
|
}
|
||||||
|
|
||||||
return next(action);
|
return next(action);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue