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

Commit

Permalink
fix: link to internal liquidity pages rather than external guide, fix…
Browse files Browse the repository at this point in the history
… copy
  • Loading branch information
rolznz committed Jun 28, 2024
1 parent b44c64b commit c217415
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions frontend/src/screens/channels/Channels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -380,12 +380,9 @@ export default function Channels() {
<AlertTitle>Low receiving capacity</AlertTitle>
<AlertDescription>
You likely won't be able to receive payments until you{" "}
<ExternalLink
className="underline"
to="https://guides.getalby.com/user-guide/v/alby-account-and-browser-extension/alby-hub/liquidity/increase-receiving-capacity"
>
<Link className="underline" to="/channels/incoming">
increase your receiving capacity.
</ExternalLink>
</Link>
</AlertDescription>
</Alert>
)}
Expand All @@ -401,12 +398,9 @@ export default function Channels() {
<AlertTitle>Channel reserves unmet</AlertTitle>
<AlertDescription>
You won't be able to make payments until you{" "}
<ExternalLink
className="underline"
to="https://guides.getalby.com/user-guide/v/alby-account-and-browser-extension/alby-hub/liquidity/increase-spending-balance"
>
<Link className="underline" to="/channels/outgoing">
increase your spending balance.
</ExternalLink>
</Link>
</AlertDescription>
</Alert>
)}
Expand Down Expand Up @@ -645,7 +639,7 @@ export default function Channels() {
let channelWarning = "";
if (channel.localSpendableBalance < capacity * 0.1) {
channelWarning =
"Sending balance low. You may have trouble sending payments through this channel.";
"Spending balance low. You may have trouble sending payments through this channel.";
}
if (channel.localSpendableBalance > capacity * 0.9) {
channelWarning =
Expand Down

0 comments on commit c217415

Please sign in to comment.