Skip to content

Commit

Permalink
fix: viem import path in migration docs (#3451)
Browse files Browse the repository at this point in the history
  • Loading branch information
lochie committed Jan 15, 2024
1 parent b99d8da commit 2a2fe74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/react/guides/migrate-from-v1-to-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ Before v2, Wagmi handled ENS name normalization internally for `useEnsAddress`,

```ts
import { useEnsAddress } from 'wagmi'
import { normalize } from 'viem' // [!code ++]
import { normalize } from 'viem/ens' // [!code ++]
const result = useEnsAddress({
name: 'wevm.eth', // [!code --]
Expand Down

1 comment on commit 2a2fe74

@vercel
Copy link

@vercel vercel bot commented on 2a2fe74 Jan 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.