Skip to content

Commit 783ae28

Browse files
clay-aptos0xmaayan
authored andcommitted
Make small edits directly
1 parent 5514461 commit 783ae28

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

developer-docs-site/docs/guides/wallet-adapter-for-dapp.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The Aptos Wallet Adapter provides:
2222
- Listens to wallet events, such as account and network changes.
2323
- A well-developed and maintained reference implementation by the Aptos ecosystem team.
2424

25-
## Setup
25+
## Install
2626

2727
Currently, the adapter supports a _React provider_ for you to include in your app.
2828

@@ -34,23 +34,23 @@ Install the React provider:
3434
npm install @aptos-labs/wallet-adapter-react
3535
```
3636

37-
### Import dependencies:
37+
## Import dependencies
3838

39-
On the App.jsx file,
39+
In the `App.jsx` file:
4040

4141
Import the installed wallets:
4242

4343
```js
4444
import { PetraWallet } from "petra-plugin-wallet-adapter";
4545
```
4646

47-
Import the AptosWalletAdapterProvider:
47+
Import the `AptosWalletAdapterProvider`:
4848

4949
```js
5050
import { AptosWalletAdapterProvider } from "@aptos-labs/wallet-adapter-react";
5151
```
5252

53-
Wrap your app with the Provider, pass it the plugins (wallets) you want to have on your app as an array, and include an autoConnect option (set to false by default)
53+
Wrap your app with the Provider, pass it the plugins (wallets) you want to have on your app as an array, and include an autoConnect option (set to false by default):
5454

5555
```js
5656
const wallets = [new PetraWallet()];

0 commit comments

Comments
 (0)