Skip to content

Commit b55ee41

Browse files
committed
use helper
1 parent 2d7f32b commit b55ee41

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/arb-token-bridge-ui/src/ui-driver/UiDriverCctp.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const stepGeneratorForCctp: UiDriverStepGenerator = async function* (
5858
return
5959
}
6060

61-
yield {
61+
yield* step({
6262
type: 'analytics',
6363
payload: {
6464
event: context.isDepositMode ? 'CCTP Deposit' : 'CCTP Withdrawal',
@@ -70,12 +70,12 @@ export const stepGeneratorForCctp: UiDriverStepGenerator = async function* (
7070
version: 2
7171
}
7272
}
73-
}
73+
})
7474

75-
yield {
75+
yield* step({
7676
type: 'tx_history_add',
7777
payload: createMergedTransaction(context, receipt.transactionHash)
78-
}
78+
})
7979
}
8080

8181
function createMergedTransaction(

0 commit comments

Comments
 (0)