From b663507b177f24de3efa41282e2dd0cdbeb7258f Mon Sep 17 00:00:00 2001 From: Shreerang Kale Date: Sun, 11 Aug 2024 11:26:39 +0530 Subject: [PATCH] Replace cosmos address with laconic address in UI --- src/components/TermsAndConditionsDialog.tsx | 9 +++++++-- src/pages/LandingPage.tsx | 6 +++--- src/pages/OnboardingSuccess.tsx | 4 ++-- src/pages/SignWithCosmos.tsx | 2 +- src/pages/Validator.tsx | 2 +- 5 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/components/TermsAndConditionsDialog.tsx b/src/components/TermsAndConditionsDialog.tsx index cf8b7a4..52973b6 100644 --- a/src/components/TermsAndConditionsDialog.tsx +++ b/src/components/TermsAndConditionsDialog.tsx @@ -16,7 +16,12 @@ const TermsAndConditionsDialog: React.FC = ({ open, onClose }) - + @@ -24,4 +29,4 @@ const TermsAndConditionsDialog: React.FC = ({ open, onClose }) ); }; -export default TermsAndConditionsDialog; \ No newline at end of file +export default TermsAndConditionsDialog; diff --git a/src/pages/LandingPage.tsx b/src/pages/LandingPage.tsx index c4759e3..9fbfd7a 100644 --- a/src/pages/LandingPage.tsx +++ b/src/pages/LandingPage.tsx @@ -38,14 +38,14 @@ const LandingPage = () => { {setIsDisabled(false);}} /> - + ); diff --git a/src/pages/OnboardingSuccess.tsx b/src/pages/OnboardingSuccess.tsx index 4d2b52f..2c053f3 100644 --- a/src/pages/OnboardingSuccess.tsx +++ b/src/pages/OnboardingSuccess.tsx @@ -33,7 +33,7 @@ const OnboardingSuccess = () => { const fetchParticipants = async () => { try { if (!cosmosAddress) { - enqueueSnackbar("Cosmos address is not provided", { variant: "error" }); + enqueueSnackbar("Laconic address is not provided", { variant: "error" }); return; } const participant: Participant = await registry.getParticipantByAddress(cosmosAddress); @@ -93,7 +93,7 @@ const OnboardingSuccess = () => {
             {participant && (
               
- Cosmos Address: {participant.cosmosAddress}
+ Laconic Address: {participant.cosmosAddress}
Nitro Address: {participant.nitroAddress}
Role: {participant.role}
KYC ID: {participant.kycId}
diff --git a/src/pages/SignWithCosmos.tsx b/src/pages/SignWithCosmos.tsx index 7998798..b369d5d 100644 --- a/src/pages/SignWithCosmos.tsx +++ b/src/pages/SignWithCosmos.tsx @@ -157,7 +157,7 @@ const SignWithCosmos = () => { Please accept terms and conditions to continue setIsTncAccepted(true)} handleRoleChange={setRole}/> Send transaction to chain - Cosmos Account: + Laconic Account: diff --git a/src/pages/Validator.tsx b/src/pages/Validator.tsx index 81c8c99..d17b46e 100644 --- a/src/pages/Validator.tsx +++ b/src/pages/Validator.tsx @@ -177,7 +177,7 @@ const Validator = () => { > {participant && (
-                Cosmos Address: {participant.cosmosAddress} 
+ Laconic Address: {participant.cosmosAddress}
Nitro Address: {participant.nitroAddress}
Role: {participant.role}
KYC ID: {participant.kycId}