Skip to content

Commit

Permalink
add enabled prop
Browse files Browse the repository at this point in the history
  • Loading branch information
abcrane123 committed Aug 5, 2024
1 parent a96c721 commit 9038ebe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/transaction/hooks/useCallsStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export function useCallsStatus({
refetchInterval: (data) => {
return data.state.data?.status === 'CONFIRMED' ? false : 1000;
},
enabled: !!transactionId,
},
});

Expand Down

0 comments on commit 9038ebe

Please sign in to comment.