This commit is contained in:
KMY 2024-01-12 15:01:02 +09:00
parent c5f7c93996
commit 93fe0708cd

View file

@ -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);