We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdd6aa3 commit 41ad19fCopy full SHA for 41ad19f
wallet/reference/provider-api.md
@@ -186,17 +186,6 @@ provider // Or window.ethereum if you don't support EIP-6963.
186
The provider emits this event when the currently connected chain changes.
187
Listen to this event to [detect a user's network](../how-to/manage-networks/detect-network.md).
188
189
-:::caution Important
190
-
191
-We strongly recommend reloading the page upon chain changes, unless you have a good reason not to:
192
193
-```typescript
194
-provider // Or window.ethereum if you don't support EIP-6963.
195
- .on("chainChanged", (chainId) => window.location.reload())
196
-```
197
198
-:::
199
200
### `connect`
201
202
```typescript
0 commit comments