diff --git a/src/components/organization/interfaces/index.ts b/src/components/organization/interfaces/index.ts index 361783e73..4f9c93240 100644 --- a/src/components/organization/interfaces/index.ts +++ b/src/components/organization/interfaces/index.ts @@ -222,6 +222,7 @@ export interface IFormikValues { privatekey: string; endorserDid: string; } + export interface IDedicatedAgentConfig { walletName: string; agentEndpoint: string; @@ -249,6 +250,7 @@ export interface ILedgerItem { deletedAt: string | null; } + export interface IOrgCount { verificationRecordsCount: number; connectionRecordsCount: number; diff --git a/src/components/organization/walletCommonComponents/WalletSpinup.tsx b/src/components/organization/walletCommonComponents/WalletSpinup.tsx index 8b2d7e195..99b05729e 100644 --- a/src/components/organization/walletCommonComponents/WalletSpinup.tsx +++ b/src/components/organization/walletCommonComponents/WalletSpinup.tsx @@ -17,6 +17,7 @@ import DedicatedAgentForm from '../walletCommonComponents/DedicatedAgent'; import SharedAgentForm from './SharedAgent'; import WalletSteps from './WalletSteps'; import type { IValuesShared } from './interfaces'; +import React from 'react'; import OrganizationDetails from '../OrganizationDetails'; import type { Organisation } from '../interfaces'; @@ -48,6 +49,8 @@ const WalletSpinup = (props: { const [orgData, setOrgData] = useState(null); const [isShared, setIsShared] = useState(false); const [isConfiguredDedicated, setIsConfiguredDedicated] = useState(false); + + const maskSeeds = (seed: string) => { const visiblePart = seed.slice(0, -10);