From a45da34b06b5668bac07d155bf3a137fe4371782 Mon Sep 17 00:00:00 2001 From: vladimir Date: Fri, 4 Oct 2024 13:54:26 +0200 Subject: [PATCH] chore: correct interface use --- src/wrappers/getWrapper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrappers/getWrapper.tsx b/src/wrappers/getWrapper.tsx index 18077ea0..58542b3b 100644 --- a/src/wrappers/getWrapper.tsx +++ b/src/wrappers/getWrapper.tsx @@ -64,7 +64,7 @@ export function getWrapper( throw new Error(UNSUPPORTED_PAYMENT_METHOD_ERROR + typeName); } - let nativeComponent: ActionHandlingComponentWrapper & NativeModule; + let nativeComponent: AdyenActionComponent & NativeModule; if (ADDRESS_COMPONENTS.includes(typeName)) { nativeComponent = new DropInComponentWrapper({ nativeModule: AdyenDropIn,