Skip to content

Commit b7456be

Browse files
broodyclaude
andauthored
fix: update apple pay pending screen (#2460)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f43b342 commit b7456be

File tree

1 file changed

+36
-32
lines changed
  • packages/keychain/src/components/purchasenew/pending

1 file changed

+36
-32
lines changed

packages/keychain/src/components/purchasenew/pending/bridge.tsx

Lines changed: 36 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -226,38 +226,42 @@ export function BridgePending({
226226
isLoading={!depositCompleted}
227227
/>
228228
</div>
229-
<TransitionStep
230-
isVisible={showBridging || paymentMethod === "apple-pay"}
231-
>
232-
<ConfirmingTransaction
233-
title={
234-
paymentCompleted
235-
? "Bridged to Starknet"
236-
: "Bridging to Starknet"
237-
}
238-
externalLink={
239-
orderTxHash || initialBridgeHash
240-
? `https://layerswap.io/explorer/${orderTxHash || initialBridgeHash}`
241-
: undefined
242-
}
243-
isLoading={!paymentCompleted}
244-
/>
245-
</TransitionStep>
246-
<TransitionStep isVisible={showPurchasing}>
247-
<ConfirmingTransaction
248-
title={
249-
purchaseCompleted
250-
? "Purchased on Starknet"
251-
: "Purchasing on Starknet"
252-
}
253-
externalLink={
254-
purchaseTxHash
255-
? getExplorer("starknet", purchaseTxHash, isMainnet)?.url
256-
: undefined
257-
}
258-
isLoading={!purchaseCompleted}
259-
/>
260-
</TransitionStep>
229+
{/* TODO: temporarily hidden for apple-pay, only showing Coinbase confirmation */}
230+
{paymentMethod !== "apple-pay" && (
231+
<>
232+
<TransitionStep isVisible={showBridging}>
233+
<ConfirmingTransaction
234+
title={
235+
paymentCompleted
236+
? "Bridged to Starknet"
237+
: "Bridging to Starknet"
238+
}
239+
externalLink={
240+
orderTxHash || initialBridgeHash
241+
? `https://layerswap.io/explorer/${orderTxHash || initialBridgeHash}`
242+
: undefined
243+
}
244+
isLoading={!paymentCompleted}
245+
/>
246+
</TransitionStep>
247+
<TransitionStep isVisible={showPurchasing}>
248+
<ConfirmingTransaction
249+
title={
250+
purchaseCompleted
251+
? "Purchased on Starknet"
252+
: "Purchasing on Starknet"
253+
}
254+
externalLink={
255+
purchaseTxHash
256+
? getExplorer("starknet", purchaseTxHash, isMainnet)
257+
?.url
258+
: undefined
259+
}
260+
isLoading={!purchaseCompleted}
261+
/>
262+
</TransitionStep>
263+
</>
264+
)}
261265
</div>
262266
)}
263267
<Button

0 commit comments

Comments
 (0)