Skip to content

Commit

Permalink
fix(react): wrong useQueries type when create from contract
Browse files Browse the repository at this point in the history
  • Loading branch information
unnoq committed Nov 19, 2024
1 parent 46587a1 commit a3ef9f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/bright-spiders-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@orpc/react": patch
---

fix: wrong useQueries type when create from contract
2 changes: 1 addition & 1 deletion packages/react/src/react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export type ORPCReactWithContractRouter<TRouter extends ContractRouter> =
ORPCHooksWithContractRouter<TRouter> & {
useContext: () => ORPCContextValue<TRouter>
useUtils: () => ORPCUtilsWithContractRouter<TRouter>
useQueries: () => UseQueriesWithContractRouter<TRouter>
useQueries: UseQueriesWithContractRouter<TRouter>
}

export type ORPCReactWithRouter<TRouter extends Router<any>> =
Expand Down

0 comments on commit a3ef9f3

Please sign in to comment.