diff --git a/src/pages/ValidatorSuccess.tsx b/src/pages/ValidatorSuccess.tsx index 518ddcd..9aba31e 100644 --- a/src/pages/ValidatorSuccess.tsx +++ b/src/pages/ValidatorSuccess.tsx @@ -1,26 +1,21 @@ -import React from 'react'; -import { useLocation } from 'react-router-dom'; +import React from "react"; +import { useLocation } from "react-router-dom"; -import { Box, Link, Typography } from '@mui/material'; +import { Link, Typography } from "@mui/material"; +import { Layout } from "../layout/Layout"; +import { CodeBlock } from "../components/CodeBlock"; const ValidatorSuccess = () => { const location = useLocation(); const { validatorAddress } = location.state as { - validatorAddress?: string + validatorAddress?: string; }; return ( - - Validator created successfully - - You can view your validator details using the following command (Refer + + + You can view your validator details using the following command + (Refer { > this guide - ) + ) - - - {`laconic-so deployment --dir testnet-laconicd-deployment exec laconicd "laconicd query staking validators --output json" | jq '.validators[] | select(.operator_address == "${validatorAddress}")'`} - - - + + {`laconic-so deployment --dir testnet-laconicd-deployment exec laconicd "laconicd query staking validators --output json" | jq '.validators[] | select(.operator_address == "${validatorAddress}")'`} + + ); };
- {`laconic-so deployment --dir testnet-laconicd-deployment exec laconicd "laconicd query staking validators --output json" | jq '.validators[] | select(.operator_address == "${validatorAddress}")'`} -