This repository was archived by the owner on May 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ export type TableProps<T extends Columns> = Component<
134134 className ?: string ;
135135 children ?: PropsWithChildren [ "children" ] ;
136136 onSort ?: ( id : keyof T , order : Order ) => void ;
137+ size ?: ListProps [ "size" ] ;
137138 } & TableHeaders < T > ,
138139 HTMLDivElement
139140> ;
Original file line number Diff line number Diff line change @@ -31,14 +31,15 @@ export default function useWalletState(chains: (Chain & { explorers: Explorer[]
3131
3232 const wrapClient = useCallback ( async ( ) => {
3333 const _client = await getWalletClient < typeof config , 1 > ( config ) ;
34-
35- return ( await options ?. client ?.( _client ) ) ?? _client ;
34+ // biome-ignore lint/suspicious/noExplicitAny: <Type instantiation is excessively deep and possibly infinite.ts(2589)>
35+ return ( await options ?. client ?.( _client as any ) ) ?? _client ;
3636 } , [ config , options ?. client ] ) ;
3737
3838 // biome-ignore lint/correctness/useExhaustiveDependencies: required for correctness
3939 useEffect ( ( ) => {
4040 async function set ( ) {
41- setClient ( await wrapClient ( ) ) ;
41+ const client = ( await wrapClient ( ) ) as WalletClient ;
42+ setClient ( client ) ;
4243 }
4344
4445 set ( ) ;
You can’t perform that action at this time.
0 commit comments