Skip to content

Commit

Permalink
fix: use dynamic coin name
Browse files Browse the repository at this point in the history
  • Loading branch information
jrwbabylonlab committed Dec 9, 2024
1 parent c6b0efa commit e8c1016
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ import { Button, Heading, Text } from "@babylonlabs-io/bbn-core-ui";
import Image from "next/image";

import { useBTCWallet } from "@/app/context/wallet/BTCWalletProvider";
import { getNetworkConfig } from "@/config/network.config";

import walletIcon from "./wallet-icon.svg";

export const WalletNotConnected = () => {
const { open } = useBTCWallet();
const { coinName } = getNetworkConfig();

return (
<div className="flex flex-1 flex-col">
Expand All @@ -22,7 +24,7 @@ export const WalletNotConnected = () => {
variant="body1"
className="text-center text-base text-primary-light p-0"
>
To start staking your BTC first connect wallets then select a
To start staking your {coinName} first connect wallets then select a
Finality Provider
</Text>
</div>
Expand Down

0 comments on commit e8c1016

Please sign in to comment.