From b947c2bd8bfa4e426cb9df944cb84797a51835a4 Mon Sep 17 00:00:00 2001 From: quantpoet Date: Thu, 25 Sep 2025 12:40:02 +0800 Subject: [PATCH] chore: fix some typos in comment (#11844) Signed-off-by: quantpoet --- packages/page-staking2/src/index.tsx | 2 +- packages/react-api/src/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/page-staking2/src/index.tsx b/packages/page-staking2/src/index.tsx index a0299ace6d..88d1915273 100644 --- a/packages/page-staking2/src/index.tsx +++ b/packages/page-staking2/src/index.tsx @@ -23,7 +23,7 @@ function StakingApp ({ basePath }: Props): React.ReactElement { // on unmount anything else, ensure that for the next round we // are starting with a fresh cache (there could be large delays) - // between opening up staking (excuted inline, not via effect) + // between opening up staking (executed inline, not via effect) useEffect((): () => void => { return (): void => { clearCache(); diff --git a/packages/react-api/src/types.ts b/packages/react-api/src/types.ts index 6045692973..93749782a3 100644 --- a/packages/react-api/src/types.ts +++ b/packages/react-api/src/types.ts @@ -52,7 +52,7 @@ export interface ApiProps extends ApiState { */ apiIdentity: ApiPromise; /** - * Used for checking if tx.idenitity.* should be used. Can be used for other scenarios as well. + * Used for checking if tx.identity.* should be used. Can be used for other scenarios as well. */ enableIdentity: boolean; apiCoretime: ApiPromise;