From ddc66a6b3528610cfe162e92a3a7405c5d805854 Mon Sep 17 00:00:00 2001 From: Ildar Galeev Date: Fri, 11 Oct 2024 16:11:23 +0700 Subject: [PATCH] Add onComplete on interactionCompleted state (#353) --- .../ViewContainer/PaymentResultView/PaymentResultView.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/ViewContainer/PaymentResultView/PaymentResultView.tsx b/src/components/ViewContainer/PaymentResultView/PaymentResultView.tsx index a621c1cc..299ba593 100644 --- a/src/components/ViewContainer/PaymentResultView/PaymentResultView.tsx +++ b/src/components/ViewContainer/PaymentResultView/PaymentResultView.tsx @@ -45,6 +45,9 @@ export function PaymentResultView() { onComplete(); } break; + case 'interactionCompleted': + onComplete(); + break; } }, [onComplete, lastCondition]);