diff --git a/src/components/primitives/Table.tsx b/src/components/primitives/Table.tsx index dac81056f..122b74bef 100644 --- a/src/components/primitives/Table.tsx +++ b/src/components/primitives/Table.tsx @@ -134,6 +134,7 @@ export type TableProps = Component< className?: string; children?: PropsWithChildren["children"]; onSort?: (id: keyof T, order: Order) => void; + size?: ListProps["size"]; } & TableHeaders, HTMLDivElement >; diff --git a/src/hooks/useWalletState.tsx b/src/hooks/useWalletState.tsx index 689c10b3f..da6aafe00 100644 --- a/src/hooks/useWalletState.tsx +++ b/src/hooks/useWalletState.tsx @@ -31,14 +31,15 @@ export default function useWalletState(chains: (Chain & { explorers: Explorer[] const wrapClient = useCallback(async () => { const _client = await getWalletClient(config); - - return (await options?.client?.(_client)) ?? _client; + // biome-ignore lint/suspicious/noExplicitAny: + return (await options?.client?.(_client as any)) ?? _client; }, [config, options?.client]); // biome-ignore lint/correctness/useExhaustiveDependencies: required for correctness useEffect(() => { async function set() { - setClient(await wrapClient()); + const client = (await wrapClient()) as WalletClient; + setClient(client); } set();