Skip to content

Commit

Permalink
Add a more obvious button to the transaction page within withdraw flow (
Browse files Browse the repository at this point in the history
  • Loading branch information
zencephalon authored Feb 9, 2024
1 parent 7e8b82d commit 7a157a8
Showing 1 changed file with 14 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,20 @@ const BarStatusToBadgeStatuses: Record<BarStatus, BadgeStatus[]> = {

const DisclaimerContent: Record<BarStatus, ReactNode> = {
REQUEST_SENT: (
<>
In order to minimize security risk, withdrawals using the official Base Bridge take up to{' '}
{challengeWindow}. After your withdrawal request is proposed onchain (within an hour) you must
verify and complete the transaction in order to access your funds, on{' '}
<Link href="/transactions" className="underline">
the transactions page
<div className="flex flex-col">
<p>
In order to minimize security risk, withdrawals using the official Base Bridge take up to{' '}
{challengeWindow}. After your withdrawal request is proposed onchain (within an hour) you
must verify and complete the transaction in order to access your funds, on{' '}
<Link href="/transactions" className="underline">
the transactions page
</Link>
.
</p>
<Link href="/transactions" className="mt-4 rounded-md bg-white p-4 text-black">
Go to Transactions
</Link>
.
</>
</div>
),
VERIFYING: (
<>
Expand Down Expand Up @@ -93,7 +98,7 @@ export function WithdrawProgressBar({ status }: WithdrawProgressBarProps) {
<span>Takes up to 1 hr</span>
</div>
</div>
<span className="font-base">{DisclaimerContent[status]}</span>
<div className="font-base">{DisclaimerContent[status]}</div>
<span className="text-white underline">
<Link href="https://docs.base.org/tools/bridge-faq">Learn more</Link>
</span>
Expand Down

0 comments on commit 7a157a8

Please sign in to comment.