Skip to content

Commit

Permalink
chore: fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-1979 committed Oct 26, 2024
1 parent 23616a4 commit 383e784
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -24,5 +24,5 @@ export default function useHasIdentityTooltipText (address: string | undefined,
default:
return t('Checking');
}
}, [anyChinModeText, chain, hasID, t]);
}, [anyChainModeText, chain, hasID, t]);
}
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -24,5 +24,5 @@ export default function useHasProxyTooltipText (address: string | undefined, has
default:
return t('Checking');
}
}, [anyChinModeText, chain, hasProxy, t]);
}, [anyChainModeText, chain, hasProxy, t]);
}
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -24,5 +24,5 @@ export default function useIsRecoverableTooltipText (address: string | undefined
default:
return t('Checking');
}
}, [anyChinModeText, chain, isRecoverable, t]);
}, [anyChainModeText, chain, isRecoverable, t]);
}

0 comments on commit 383e784

Please sign in to comment.