Skip to content

Commit

Permalink
Remove leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofzuraw committed Oct 24, 2024
1 parent a494cb9 commit 74aa68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/dropin/adyen/dropin-config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export const getAdyenDropinConfig = (props: {
void resolve(adyenOrderCreateResponse.getResponse());
},
// @ts-expect-error - onOrderCancel is not wrongly defined in the types
onOrderCancel: async ({ order, _rest }: { order: Order }) => {
onOrderCancel: async ({ order }: { order: Order }) => {
// https://docs.saleor.io/developer/app-store/apps/adyen/storefront#onordercancel
const initalizePaymentGatewayDataResponse = await initalizePaymentGateway(
{
Expand Down

0 comments on commit 74aa68d

Please sign in to comment.