From 2d11ec3bf6ee0fbcbb708ce78d6adbdd1979ecd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ti=E1=BA=BFn=20Nguy=E1=BB=85n=20Kh=E1=BA=AFc?= Date: Mon, 12 Aug 2024 15:02:23 +1200 Subject: [PATCH] fix: missing export for `useChainIds` --- .changeset/bright-paws-end.md | 5 +++++ packages/react/src/index.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/bright-paws-end.md diff --git a/.changeset/bright-paws-end.md b/.changeset/bright-paws-end.md new file mode 100644 index 00000000..8f00c009 --- /dev/null +++ b/.changeset/bright-paws-end.md @@ -0,0 +1,5 @@ +--- +"@reactive-dot/react": patch +--- + +Add missing export for `useChainIds`. diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index 7ceaee3d..6027471c 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -8,13 +8,13 @@ export { } from "./contexts/index.js"; export type { ChainHookOptions } from "./hooks/types.js"; export { useAccounts } from "./hooks/use-accounts.js"; +export { useSpendableBalance } from "./hooks/use-balance.js"; export { useBlock } from "./hooks/use-block.js"; -export { useChainId } from "./hooks/use-chain-id.js"; +export { useChainId, useChainIds } from "./hooks/use-chain-id.js"; export { useChainSpecData } from "./hooks/use-chain-spec-data.js"; export { useClient } from "./hooks/use-client.js"; export { useMutationEffect } from "./hooks/use-mutation-effect.js"; export { useMutation } from "./hooks/use-mutation.js"; -export { useSpendableBalance } from "./hooks/use-balance.js"; export { useNativeTokenAmountFromNumber, useNativeTokenAmountFromPlanck,