Show role and KYC id in onboarding success page (#4)
Part of [Sumsub KYC integration in onboarding app](https://www.notion.so/Sumsub-KYC-integration-in-onboarding-app-607b598c9c1d4d12adc71725e2ab5e7e) Co-authored-by: Adw8 <adwaitgharpure@gmail.com> Co-authored-by: Shreerang Kale <shreerangkale@gmail.com> Reviewed-on: #4
This commit is contained in:
parent
9bd82a0023
commit
8242eb05cc
@ -8,6 +8,8 @@ import { Registry } from "@cerc-io/registry-sdk";
|
||||
interface Participant {
|
||||
cosmosAddress: string;
|
||||
nitroAddress: string;
|
||||
role: string;
|
||||
kycId: string;
|
||||
}
|
||||
|
||||
const registry = new Registry(
|
||||
@ -69,6 +71,8 @@ const OnboardingSuccess = () => {
|
||||
<div>
|
||||
Cosmos Address: {participant.cosmosAddress} <br />
|
||||
Nitro Address: {participant.nitroAddress} <br />
|
||||
Role: {participant.role} <br />
|
||||
KYC ID: {participant.kycId} <br />
|
||||
<br />
|
||||
</div>
|
||||
)}
|
||||
|
@ -35,7 +35,7 @@ const SignWithNitroKey = () => {
|
||||
|
||||
const message = useMemo(() => {
|
||||
return {
|
||||
msg: "Register my account as a validator on the Laconic network",
|
||||
msg: "Register my account as a participant on the Laconic network",
|
||||
address: ethAddress,
|
||||
};
|
||||
}, [ethAddress]);
|
||||
|
Loading…
Reference in New Issue
Block a user