Skip to content

Commit

Permalink
Address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronfigueiredo committed Sep 24, 2024
1 parent 0a6a568 commit cf96d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/pages/confirmations/selectors/confirm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function pendingConfirmationsSelector(state: ConfirmMetamaskState) {
export function pendingConfirmationsSortedSelector(
state: ConfirmMetamaskState,
) {
return Object.values(state.metamask.pendingApprovals ?? {})
return getPendingApprovals(state)
.filter(({ type }) =>
ConfirmationApprovalTypes.includes(type as ApprovalType),
)
Expand Down

0 comments on commit cf96d05

Please sign in to comment.