Skip to content

Commit

Permalink
fix: hardcoded network name
Browse files Browse the repository at this point in the history
  • Loading branch information
totraev committed Dec 9, 2024
1 parent 9f7b0cc commit 478f160
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/components/Modals/StakeModal.tsx
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -20,7 +24,7 @@ export function StakeModal({
processing={processing}
open={open}
icon={<MdEditNote size={52} />}
title="Sign and Send to BTC"
title={`Sign and Send to ${networkName}`}
onClose={onClose}
onSubmit={onSubmit}
>
Expand Down

0 comments on commit 478f160

Please sign in to comment.