Skip to content

Commit

Permalink
Fix "error 'component' is defined but never used".
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Jan 23, 2024
1 parent cc79b55 commit 3deebd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/checkout-drop-in.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
const configuration = {
...pronamicPayAdyenCheckout.configuration,
onPaymentCompleted: ( result, component ) => {
onPaymentCompleted: ( result ) => {
const redirectUrl = new URL(
pronamicPayAdyenCheckout.paymentRedirectUrl
);
Expand Down

0 comments on commit 3deebd4

Please sign in to comment.