From 478f16018d26ae7dcb3f4a6a7b7d8d39cdacecef Mon Sep 17 00:00:00 2001 From: David Totraev Date: Mon, 9 Dec 2024 12:52:18 +0500 Subject: [PATCH] fix: hardcoded network name --- src/app/components/Modals/StakeModal.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/components/Modals/StakeModal.tsx b/src/app/components/Modals/StakeModal.tsx index 16c48c38..f8535bfd 100644 --- a/src/app/components/Modals/StakeModal.tsx +++ b/src/app/components/Modals/StakeModal.tsx @@ -1,7 +1,11 @@ import { MdEditNote } from "react-icons/md"; +import { getNetworkConfig } from "@/config/network.config"; + import { SubmitModal } from "./SubmitModal"; +const { networkName } = getNetworkConfig(); + interface StakeModalProps { processing?: boolean; open: boolean; @@ -20,7 +24,7 @@ export function StakeModal({ processing={processing} open={open} icon={} - title="Sign and Send to BTC" + title={`Sign and Send to ${networkName}`} onClose={onClose} onSubmit={onSubmit} >