Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.

Commit a1fe860

Browse files
committed
feat(app): show max activation fee above estimated/actual fee
1 parent a57890b commit a1fe860

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/src/components/transaction/FeesSection.tsx

+6-6
Original file line numberDiff line numberDiff line change
@@ -134,20 +134,20 @@ export function FeesSection(props: FeeTokenProps) {
134134
</Text>
135135
</View>
136136

137-
{!activationFee.eq(0) && (
137+
{!maxActivationFee.eq(0) && (
138138
<View style={styles.row}>
139-
<Text variant="labelLarge">Activation fee{paymasterFeesEstimatedLabel}</Text>
139+
<Text variant="labelLarge">Activation fee (max)</Text>
140140
<Text variant="bodySmall">
141-
<TokenAmount token={p.feeToken} amount={activationFee.div(ethPerFeeToken)} />
141+
<TokenAmount token={p.feeToken} amount={maxActivationFee.div(ethPerFeeToken)} />
142142
</Text>
143143
</View>
144144
)}
145145

146-
{!maxActivationFee.eq(0) && (
146+
{!activationFee.eq(0) && (
147147
<View style={styles.row}>
148-
<Text variant="labelLarge">Activation fee (max)</Text>
148+
<Text variant="labelLarge">Activation fee{paymasterFeesEstimatedLabel}</Text>
149149
<Text variant="bodySmall">
150-
<TokenAmount token={p.feeToken} amount={maxActivationFee.div(ethPerFeeToken)} />
150+
<TokenAmount token={p.feeToken} amount={activationFee.div(ethPerFeeToken)} />
151151
</Text>
152152
</View>
153153
)}

0 commit comments

Comments
 (0)