You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/core.rst
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Provides basic services for a DApp. It combines the following components: ``<Con
12
12
13
13
*Properties:*
14
14
15
-
- ``config: Partial<Config>``: configuration of the Dapp, see `Config`_
15
+
- ``config: Partial<Config>``: configuration of the DApp, see `Config`_
16
16
17
17
*Example:*
18
18
@@ -171,7 +171,7 @@ This function is used for debouncing multicall until enough calls are aggregated
171
171
172
172
- ``first: T`` - first variable to be debounced
173
173
- ``second: U`` - second variable to be debounced
174
-
- ``delay: number`` - deboune time - amount of time in ms
174
+
- ``delay: number`` - debounce time - amount of time in ms
175
175
176
176
**Returns**
177
177
@@ -213,7 +213,7 @@ Returns connection state and functions that allow to manipulate the state.
213
213
- ``chainId: ChainId`` - current chainId (or *undefined* if not connected)
214
214
- ``library: Web3Provider`` - an instance of ethers `Web3Provider <https://github.com/EthWorks/useDapp/tree/master/packages/example>`_ (or *undefined* if not connected)
215
215
- ``active: boolean`` - returns if provider is connected (read or write mode)
216
-
- ``activateBrowserWallet()`` - function that will inititate connection to browser web3 extension (e.g. Metamask)
216
+
- ``activateBrowserWallet()`` - function that will initiate connection to browser web3 extension (e.g. Metamask)
217
217
- ``async activate(connector: AbstractConnector, onError?: (error: Error) => void, throwErrors?: boolean)`` - function that allows to connect to a wallet
218
218
- ``async deactivate()`` - function that disconnects wallet
219
219
- ``error?: Error`` - an error that occurred during connecting (e.g. connection is broken, unsupported network)
@@ -314,7 +314,7 @@ Mapping of ``ChainId``'s to node URLs to use in read-only mode.
314
314
List of intended supported chains. If a user tries to connect to an unsupported chain an error value will be returned by `useEthers`.
0 commit comments