Skip to content

Commit

Permalink
Keep estimated time display (#819)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 authored Sep 11, 2024
1 parent a8ed455 commit 8788684
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/web/src/components/transfer-information.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ interface Props {
export default function TransferInformation({ transactionFee, transferLimit, dailyLimit, estimatedTime }: Props) {
return (
<div className="gap-small px-medium flex flex-col lg:px-3">
{estimatedTime ? (
<Row name="Estimated Arrival Time" loading={estimatedTime.loading} value={estimatedTime.value} />
) : null}
<Row
name="Estimated Arrival Time"
loading={!estimatedTime || estimatedTime.loading}
value={estimatedTime?.value}
/>
{transactionFee ? (
<Row
name="Transaction Fee"
Expand Down

0 comments on commit 8788684

Please sign in to comment.