From b39afe386f508b958fa07244cda76ca184a9d191 Mon Sep 17 00:00:00 2001 From: Cody Bender Date: Sun, 11 Aug 2024 12:34:35 -0400 Subject: [PATCH] style: validator success page --- src/pages/ValidatorSuccess.tsx | 37 ++++++++++++++-------------------- 1 file changed, 15 insertions(+), 22 deletions(-) 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}")'`} + + ); };