Skip to content

Commit

Permalink
Update hasPendingTxn for accounting when null
Browse files Browse the repository at this point in the history
  • Loading branch information
bigboydiamonds committed Aug 15, 2023
1 parent 85e9776 commit 99b8346
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const Activity = () => {
}, [userPendingActivity])

const hasPendingTransactions: boolean = useMemo(
() => userPendingTransactions.length > 0,
() => userPendingTransactions && userPendingTransactions.length > 0,
[userPendingTransactions]
)

Expand Down

0 comments on commit 99b8346

Please sign in to comment.