Skip to content

Commit 4fe6cf7

Browse files
committed
Fix injected wallet docs
1 parent 6e4fb96 commit 4fe6cf7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/injected/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const connectedWallets = await onboard.connectWallet()
3434
console.log(connectedWallets)
3535
```
3636

37-
## Excluding Wallets
37+
## Filtering Wallets
3838

3939
Injected wallets that you do not want to support can be filtered based on the `Platform` the user is on. For example you may not want to support the 'Detected Wallet' that is detected automatically and filter it via all platforms by passing `false`:
4040

@@ -45,7 +45,7 @@ import injectedModule, { ProviderLabel } from '@web3-onboard/injected-wallets'
4545
const MAINNET_RPC_URL = 'https://mainnet.infura.io/v3/<INFURA_KEY>'
4646

4747
const injected = injectedModule({
48-
exclude: {
48+
filter: {
4949
[ProviderLabel.Detected]: false
5050
}
5151
})
@@ -77,7 +77,7 @@ const onboard = Onboard({
7777
})
7878
```
7979

80-
The following platforms can be used to exclude wallets:
80+
The following platforms can be used to filter wallets:
8181

8282
```typescript
8383
type Platform =

0 commit comments

Comments
 (0)