Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Dec 5, 2023
1 parent 1dc2344 commit faa7b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/react/api/hooks/usePublicClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function App() {
:::

::: warning
If you want to optimize bundle size, you should use [`usePublicClient`](/react/api/hooks/usePublicClient) along with Viem's [tree-shakable actions](https://viem.sh/docs/clients/custom.html#tree-shaking) instead. Since Public Client has all public actions attached directly to it.
If you want to optimize bundle size, you should use [`useClient`](/react/api/hooks/useClient) along with Viem's [tree-shakable actions](https://viem.sh/docs/clients/custom.html#tree-shaking) instead. Since Public Client has all public actions attached directly to it.
:::

## Parameters
Expand Down

0 comments on commit faa7b39

Please sign in to comment.