Skip to content

Commit

Permalink
use correct logic to step through auth entry review
Browse files Browse the repository at this point in the history
  • Loading branch information
aristidesstaffieri committed Feb 14, 2024
1 parent f485871 commit 1971d2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extension/src/popup/views/ReviewAuth/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ export const ReviewAuth = () => {
size="md"
isLoading={isConfirming}
onClick={() =>
activeAuthEntryIndex === op.auth?.length
? setActiveAuthEntryIndex(activeAuthEntryIndex + 1)
: setHasConfirmedAuth(true)
activeAuthEntryIndex + 1 === op.auth?.length
? setHasConfirmedAuth(true)
: setActiveAuthEntryIndex(activeAuthEntryIndex + 1)
}
>
{t("Approve and review next")}
Expand Down

0 comments on commit 1971d2f

Please sign in to comment.