From 383e7846651abbf1ce47b1c6c6e5deac2b70fbe1 Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 26 Oct 2024 11:11:26 +0330 Subject: [PATCH] chore: fix a typo --- .../src/hooks/useHasIdentityTooltipText.ts | 6 +++--- .../extension-polkagate/src/hooks/useHasProxyTooltipText.ts | 6 +++--- .../src/hooks/useIsRecoverableTooltipText.ts | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/extension-polkagate/src/hooks/useHasIdentityTooltipText.ts b/packages/extension-polkagate/src/hooks/useHasIdentityTooltipText.ts index 04a22181b..32ac156a3 100644 --- a/packages/extension-polkagate/src/hooks/useHasIdentityTooltipText.ts +++ b/packages/extension-polkagate/src/hooks/useHasIdentityTooltipText.ts @@ -9,11 +9,11 @@ export default function useHasIdentityTooltipText (address: string | undefined, const { t } = useTranslation(); const chain = useChain(address); - const anyChinModeText = t('Account is in Any Chain mode'); + const anyChainModeText = t('Account is in Any Chain mode'); return useMemo(() => { if (!chain) { - return anyChinModeText; + return anyChainModeText; } switch (hasID) { @@ -24,5 +24,5 @@ export default function useHasIdentityTooltipText (address: string | undefined, default: return t('Checking'); } - }, [anyChinModeText, chain, hasID, t]); + }, [anyChainModeText, chain, hasID, t]); } diff --git a/packages/extension-polkagate/src/hooks/useHasProxyTooltipText.ts b/packages/extension-polkagate/src/hooks/useHasProxyTooltipText.ts index c1e2fd1e6..be1ed2571 100644 --- a/packages/extension-polkagate/src/hooks/useHasProxyTooltipText.ts +++ b/packages/extension-polkagate/src/hooks/useHasProxyTooltipText.ts @@ -9,11 +9,11 @@ export default function useHasProxyTooltipText (address: string | undefined, has const { t } = useTranslation(); const chain = useChain(address); - const anyChinModeText = t('Account is in Any Chain mode'); + const anyChainModeText = t('Account is in Any Chain mode'); return useMemo(() => { if (!chain) { - return anyChinModeText; + return anyChainModeText; } switch (hasProxy) { @@ -24,5 +24,5 @@ export default function useHasProxyTooltipText (address: string | undefined, has default: return t('Checking'); } - }, [anyChinModeText, chain, hasProxy, t]); + }, [anyChainModeText, chain, hasProxy, t]); } diff --git a/packages/extension-polkagate/src/hooks/useIsRecoverableTooltipText.ts b/packages/extension-polkagate/src/hooks/useIsRecoverableTooltipText.ts index 5cb621b06..bdfa217e9 100644 --- a/packages/extension-polkagate/src/hooks/useIsRecoverableTooltipText.ts +++ b/packages/extension-polkagate/src/hooks/useIsRecoverableTooltipText.ts @@ -9,11 +9,11 @@ export default function useIsRecoverableTooltipText (address: string | undefined const { t } = useTranslation(); const chain = useChain(address); - const anyChinModeText = t('Account is in Any Chain mode'); + const anyChainModeText = t('Account is in Any Chain mode'); return useMemo(() => { if (!chain) { - return anyChinModeText; + return anyChainModeText; } switch (isRecoverable) { @@ -24,5 +24,5 @@ export default function useIsRecoverableTooltipText (address: string | undefined default: return t('Checking'); } - }, [anyChinModeText, chain, isRecoverable, t]); + }, [anyChainModeText, chain, isRecoverable, t]); }