Fix typos and grammatical inconsistencies (#1429)

* typos bridges-mainnet.md

* typos 1_verify-contract-with-basescan.md

* typos types.ts

* typos useSetPrimaryBasename.ts
This commit is contained in:
Ocenka
2024-12-20 10:09:50 +00:00
committed by GitHub
parent c9d642de2c
commit c08106648e
4 changed files with 4 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ See the [sample code repository](https://github.com/base-org/guides/tree/main/br
:::caution
**Double check the token address for ERC-20s** You can use any ERC-20 that is
**Double-check the token address for ERC-20s** You can use any ERC-20 that is
supported on the network. You can check what assets are on Base and the
corresponding contract address via [this hub](https://github.com/ethereum-optimism/ethereum-optimism.github.io/tree/master/data).
Ensure there is an address for `base`, [example](https://github.com/ethereum-optimism/ethereum-optimism.github.io/blob/master/data/WETH/data.json#L16-L18).

View File

@@ -94,7 +94,7 @@ Obtain a rpc url from the [Node product] and store the url as an environment var
![cdp-node](../../assets/images/verify-with-basescan-api/cdp-node-full.png)
Then store it as a environment variable in your terminal:
Then store it as an environment variable in your terminal:
```bash
export BASE_RPC_URL="your_base_rpc_url"

View File

@@ -95,7 +95,7 @@ export type UseFrameOptions<
frameActionProxy: string;
/** the route used to GET the initial frame via proxy */
frameGetProxy: string;
/** an signer state object used to determine what actions are possible */
/** a signer state object used to determine what actions are possible */
signerState: SignerStateInstance<TSignerStorageType, TFrameActionBodyType, TFrameContextType>;
/** the url of the homeframe, if null / undefined won't load a frame */
homeframeUrl: string | null | undefined;

View File

@@ -13,7 +13,7 @@ import useWriteContractWithReceipt from 'apps/web/src/hooks/useWriteContractWith
import { useUsernameProfile } from 'apps/web/src/components/Basenames/UsernameProfileContext';
/*
A hook to set an name as primary for resolution.
A hook to set a name as primary for resolution.
Responsabilities:
- Get and validate the primary username against the new username