Skip to content

Commit

Permalink
chore: update copy and use link button component
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Sep 18, 2024
1 parent f5a5bcd commit b71a1e8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions frontend/src/screens/wallet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
AlertDescription,
AlertTitle,
} from "src/components/ui/alert.tsx";
import { Button } from "src/components/ui/button";
import { Button, LinkButton } from "src/components/ui/button";
import { ALBY_HIDE_HOSTED_BALANCE_BELOW as ALBY_HIDE_HOSTED_BALANCE_LIMIT } from "src/constants.ts";
import { useAlbyBalance } from "src/hooks/useAlbyBalance";
import { useBalances } from "src/hooks/useBalances";
Expand Down Expand Up @@ -53,19 +53,17 @@ function Wallet() {
sats in your Alby shared wallet
</h3>
<p className="text-sm text-muted-foreground mb-4">
Transfer funds from your Alby hosted balance.
Migrate funds from your Alby hosted balance.
</p>
{needsChannels ? (
<Link to="/channels/first">
<Button className="mt-4">Migrate Funds</Button>
</Link>
<LinkButton to="/channels/first">Migrate Funds</LinkButton>
) : (
<TransferFundsButton
channels={channels}
albyBalance={albyBalance}
reloadAlbyBalance={reloadAlbyBalance}
>
Transfer Funds
Migrate Funds
</TransferFundsButton>
)}
</div>
Expand Down

0 comments on commit b71a1e8

Please sign in to comment.