Skip to content

Commit

Permalink
resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-babylonlabs committed Jan 7, 2025
1 parent 7f1aea7 commit f4faacf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Text } from "@babylonlabs-io/bbn-core-ui";

import { getNetworkConfigBBN } from "@/config/network/bbn";

import { SubmitModal } from "../SubmitModal";

interface RegistrationEndModalProps {
Expand All @@ -22,6 +24,8 @@ const SuccessIcon = () => (
</svg>
);

const { networkFullName } = getNetworkConfigBBN();

export function RegistrationEndModal({
open,
onClose,
Expand All @@ -37,9 +41,9 @@ export function RegistrationEndModal({
cancelButton={undefined}
>
<Text variant="body1" className="text-center">
Your staking transaction has been successfully registered to the Babylon
test chain. It will be activated and receive voting power in a few
blocks. You can monitor the Activity tab for the activation status.
Your staking transaction has been successfully registered to the
{networkFullName}. It will be activated and receive voting power in a
few blocks. You can monitor the Activity tab for the activation status.
</Text>
</SubmitModal>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function RegistrationStartModal({
<Text variant="body1" className="text-center">
You are about to register your {networkName} stake to the{" "}
{networkFullName}. The registration requires consenting to slashing and
the association of your {networkFullName} testnet account with your{" "}
the association of your {networkFullName} account with your{" "}
{networkName} address.
</Text>
</SubmitModal>
Expand Down

0 comments on commit f4faacf

Please sign in to comment.