Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
fix: external links on wallet page
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Jun 11, 2024
1 parent 672d704 commit a94bd8a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frontend/src/screens/wallet/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ExternalLink } from "lucide-react";
import { Link } from "react-router-dom";
import { ExternalLinkIcon } from "lucide-react";
import AlbyHead from "src/assets/images/alby-head.svg";
import AppHeader from "src/components/AppHeader";
import BreezRedeem from "src/components/BreezRedeem";
import ExternalLink from "src/components/ExternalLink";
import Loading from "src/components/Loading";
import { Button } from "src/components/ui/button";
import {
Expand Down Expand Up @@ -63,13 +63,13 @@ function Wallet() {
<CardContent className="text-right">
<Button variant="outline">
Open Alby Web
<ExternalLink className="w-4 h-4 ml-2" />
<ExternalLinkIcon className="w-4 h-4 ml-2" />
</Button>
</CardContent>
</Card>
</ExternalLink>
{!extensionInstalled && (
<Link to={`https://www.getalby.com`} target="_blank">
<ExternalLink to="https://www.getalby.com">
<Card>
<CardHeader>
<div className="flex flex-row items-center">
Expand All @@ -93,11 +93,11 @@ function Wallet() {
<CardContent className="text-right">
<Button variant="outline">
Install Alby Extension
<ExternalLink className="w-4 h-4 ml-2" />
<ExternalLinkIcon className="w-4 h-4 ml-2" />
</Button>
</CardContent>
</Card>
</Link>
</ExternalLink>
)}
</div>

Expand Down

0 comments on commit a94bd8a

Please sign in to comment.