From 9c230c9915fbed804940cbe37c9367db6216124f Mon Sep 17 00:00:00 2001 From: goldlinker Date: Thu, 23 Oct 2025 16:41:32 +0800 Subject: [PATCH] chore: fix some minor issues in the comments Signed-off-by: goldlinker --- docs/provider/chain-provider.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/provider/chain-provider.mdx b/docs/provider/chain-provider.mdx index 5a4a1c456..be59a867d 100644 --- a/docs/provider/chain-provider.mdx +++ b/docs/provider/chain-provider.mdx @@ -12,7 +12,7 @@ These properties are shared by `ChainProvider`s from `@cosmos-kit/react` and `@c Required property of type `(Chain | string)[]`. -It defines supported chains. Any actions involving chains beyound it might cause errors. +It defines supported chains. Any actions involving chains beyond it might cause errors. If chain has been registered in `@chain-registry/client`, you can also simply provide chain name (type `string`) here and it'll fetch the chain information automatically. @@ -195,7 +195,7 @@ function CosmosApp() { **Type:** `NameServiceName` = `string`; -Currently two name services are registered: `'icns'` and `'stargaze'`. The default name service is `icns`. This property is only used in `getNameService` of `useManager` when prarameter `chainName` is undefined, and in `useNameService` when the prarameter `name` is not provided. Otherwise it will return the name service object corresponding to provided chain. Therefore it won't affect `getNameService` method returned by `useChain`, since `chainName` is always provide in `useChain`. +Currently two name services are registered: `'icns'` and `'stargaze'`. The default name service is `icns`. This property is only used in `getNameService` of `useManager` when parameter `chainName` is undefined, and in `useNameService` when the parameter `name` is not provided. Otherwise it will return the name service object corresponding to provided chain. Therefore it won't affect `getNameService` method returned by `useChain`, since `chainName` is always provide in `useChain`. ### endpointOptions