From a5ea41d608fa38a187cee703b203962560f55b6e Mon Sep 17 00:00:00 2001 From: Mimi Tran <80493680+mimi-imtbl@users.noreply.github.com> Date: Fri, 11 Oct 2024 11:01:32 +1100 Subject: [PATCH] [NO CHANGELOG] [Add Funds Widget] Update rive animation for execute (#2285) --- .../widgets-lib/src/widgets/add-funds/views/Review.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/checkout/widgets-lib/src/widgets/add-funds/views/Review.tsx b/packages/checkout/widgets-lib/src/widgets/add-funds/views/Review.tsx index db7539197b..7bd46ed110 100644 --- a/packages/checkout/widgets-lib/src/widgets/add-funds/views/Review.tsx +++ b/packages/checkout/widgets-lib/src/widgets/add-funds/views/Review.tsx @@ -42,7 +42,7 @@ interface ReviewProps { const FIXED_HANDOVER_DURATION = 2000; const APPROVE_TXN_ANIMATION = '/access_coins.riv'; -const EXECUTE_TXN_ANIMATION = '/purchasing_items.riv'; +const EXECUTE_TXN_ANIMATION = '/swapping_coins.riv'; export function Review({ data, @@ -204,7 +204,7 @@ export function Review({ const txReceipt = await execute(squid, changeableProvider, route); - showHandover(APPROVE_TXN_ANIMATION, RiveStateMachineInput.PROCESSING, 'Processing', '', FIXED_HANDOVER_DURATION); + showHandover(EXECUTE_TXN_ANIMATION, RiveStateMachineInput.PROCESSING, 'Processing', '', FIXED_HANDOVER_DURATION); showHandover( EXECUTE_TXN_ANIMATION,