Skip to content

Commit caa03d4

Browse files
authored
docs: fix outdated wagmi docs links
1 parent 81a2985 commit caa03d4

File tree

1 file changed

+2
-2
lines changed
  • public/content/developers/tutorials/creating-a-wagmi-ui-for-your-contract

1 file changed

+2
-2
lines changed

public/content/developers/tutorials/creating-a-wagmi-ui-for-your-contract/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ The application is going inside [a `React.StrictMode` component](https://react.d
9595
<WagmiConfig config={config}>
9696
```
9797

98-
The application is also inside [a `WagmiConfig` component](https://wagmi.sh/react/WagmiConfig). [The wagmi (we are going to make it) library](https://wagmi.sh/) connects the React UI definitions with [the viem library](https://viem.sh/) for writing an Ethereum decentralized application.
98+
The application is also inside [a `WagmiConfig` component](https://wagmi.sh/react/api/WagmiProvider). [The wagmi (we are going to make it) library](https://wagmi.sh/) connects the React UI definitions with [the viem library](https://viem.sh/) for writing an Ethereum decentralized application.
9999

100100
```tsx
101101
<RainbowKitProvider chains={chains}>
@@ -134,7 +134,7 @@ This is the standard way to create a React component - define a function that is
134134
const { isConnected } = useAccount()
135135
```
136136
137-
Here we use [`useAccount`](https://wagmi.sh/react/hooks/useAccount) to check if we are connected to a blockchain through a wallet or not.
137+
Here we use [`useAccount`](https://wagmi.sh/react/api/hooks/useAccount) to check if we are connected to a blockchain through a wallet or not.
138138
139139
By convention, in React functions called `use...` are [hooks](https://www.w3schools.com/react/react_hooks.asp) that return some kind of data. When you use such hooks, not only does your component get the data, but when that data changes the component is re-rendered with the updated information.
140140

0 commit comments

Comments
 (0)