Skip to content

Commit

Permalink
Remove unnecessary dependencies from useEffect
Browse files Browse the repository at this point in the history
Co-authored-by: Rafał Czajkowski <[email protected]>
  • Loading branch information
kkosiorowska and r-czajkowski authored May 17, 2024
1 parent 9577fa4 commit 83d1799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dapp/src/hooks/useTransactionModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function useTransactionModal(type: ActionFlowType) {
if (account) {
handleOpenModal()
}
}, [account, handleOpenModal, openModal, type])
}, [account, handleOpenModal])

return useCallback(() => {
if (btcAccount) {
Expand Down

0 comments on commit 83d1799

Please sign in to comment.