Skip to content

Commit

Permalink
Add reason for rejectAction
Browse files Browse the repository at this point in the history
  • Loading branch information
h0ngcha0 committed Apr 20, 2024
1 parent 866b006 commit 1379f9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export const ApproveTransactionScreen: FC<ApproveTransactionScreenProps> = ({
}, [selectedAccount, buildResult, onSubmit, onReject, navigate])

if (!selectedAccount) {
rejectAction(actionHash)
rejectAction(actionHash, `No account found for network ${networkId}`)
return <Navigate to={routes.accounts()} />
}

Expand Down

0 comments on commit 1379f9a

Please sign in to comment.