Skip to content

Commit

Permalink
docs: Fixed document word errors (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenty22 authored Feb 27, 2024
1 parent 8fa289b commit b6fb180
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ type ThemeVariant = 'base';
</WalletKitProvider>;
```

An exmaple for custom theme as follows, or you can configure themes in both light and dark modes,
for more details, please click
An exmaple for customizing theme as follows, or you can configure themes in both light and dark
modes, for more details, please click
[here](https://github.com/node-real/walletkit/blob/main/packages/walletkit/src/themes/base.ts).

```tsx live=false
Expand Down Expand Up @@ -414,7 +414,7 @@ export interface WalletKitProviderProps {

```tsx live=false
interface WalletKitOptions {
// Once connected to the wallet, which chainId you want to switch
// Once connected to the wallet, which network you want to use.
initialChainId?: number;

// Provide a disclaimer for things like terms and conditions that will be displayed to users when they're not yet connected.
Expand All @@ -435,7 +435,7 @@ interface WalletKitOptions {

// !!! Notice
// This callback takes effect only if WalletKitButton's action='add-network'
// will be called if network has already added to the wallet
// and will be called if network has already added to the wallet
onChainAlreadyAdded?: (connector: Connector, chainId: number) => void;

// handle wallet errors by yourself
Expand Down

0 comments on commit b6fb180

Please sign in to comment.