Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Jan 12, 2024
1 parent c5f7c93 commit 93fe070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/javascript/mastodon/store/middlewares/loading_bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ export const loadingBarMiddleware = (
}

if (isPending) {
dispatch(showLoading());
dispatch(showLoading() as UnknownAction);
} else if (isFulfilled || isRejected) {
dispatch(hideLoading());
dispatch(hideLoading() as UnknownAction);
}

return next(action);
Expand Down

0 comments on commit 93fe070

Please sign in to comment.