Skip to content

Commit

Permalink
add else clause
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfolch-redeemeum committed Nov 13, 2023
1 parent 4096321 commit 01fddb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-kit/src/hooks/useCtaClickHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ export function useCtaClickHandler<T>({
);
receipt = error.receipt;
}
} else {
throw error;
}
}
}
Expand Down

0 comments on commit 01fddb3

Please sign in to comment.