Skip to content

Commit

Permalink
Update useTransactionQuery.ts (#1163)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkniffler committed Oct 18, 2022
1 parent 568c54f commit db04d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/query/useTransactionQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function UseTransactionQueryReducer<TData>(
): UseTransactionQueryState<TData> {
switch (action.type) {
case 'loading': {
if (state.isLoading) return state;
if (state.isLoading) return { ...state };
return {
data: state.data,
isLoading: true,
Expand Down

1 comment on commit db04d24

@vercel
Copy link

@vercel vercel bot commented on db04d24 Oct 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

gqty – ./

gqty.dev
www.gqty.dev
gqty.vercel.app
gqty-git-main-gqty.vercel.app
gqty-gqty.vercel.app

Please sign in to comment.