Skip to content

Commit

Permalink
[NO CHANGELOG] [Add Funds Widget] Update rive animation for execute (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mimi-imtbl authored Oct 11, 2024
1 parent 77302b4 commit a5ea41d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a5ea41d

Please sign in to comment.