Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

Commit 6776dd5

Browse files
committed
build
1 parent a946651 commit 6776dd5

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import { useNetworkMistmatch } from "@thirdweb-dev/react"
5858
| [useNFTCollection(contractAddress)](./react.usenftcollection.md) | Hook for getting an instance of an <code>NFTCollection</code> contract. This contract is meant to interface with ERC721 compliant NFTs. |
5959
| [useNFTDrop(contractAddress)](./react.usenftdrop.md) | Hook for getting an instance of an <code>NFTDrop</code> contract. This contract is meant to interface with ERC721 compliant NFTs that can be lazily minted. |
6060
| [useNFTList(contract, queryParams)](./react.usenftlist.md) | <b><i>(BETA)</i></b> Use this to get a list of NFT tokens of your ERC721 contract. |
61-
| [useNFTMint(contract, toAddress)](./react.usenftmint.md) | <b><i>(BETA)</i></b> Use this to mint a new NFT on your ERC721 contract |
61+
| [useNFTMint(contract, to)](./react.usenftmint.md) | <b><i>(BETA)</i></b> Use this to mint a new NFT on your ERC721 contract |
6262
| [useNFTSupply(contract)](./react.usenftsupply.md) | <b><i>(BETA)</i></b> Use this to get a the total (minted) supply of your ERC721 contract. |
6363
| [usePack(contractAddress)](./react.usepack.md) | Hook for getting an instance of a <code>Pack</code> contract. This contract supports the creation of on-chain luck-based lootboxes. |
6464
| [useResolvedMediaType(uri)](./react.useresolvedmediatype.md) | |

docs/react.usenftmint.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Use this to mint a new NFT on your ERC721 contract
1212
<b>Signature:</b>
1313

1414
```typescript
15-
declare function useNFTMint(contract?: Erc721<any>, toAddress?: string): react_query.UseMutationResult<_thirdweb_dev_sdk.TransactionResultWithId<_thirdweb_dev_sdk.NFTMetadataOwner>, unknown, string | {
15+
declare function useNFTMint(contract?: Erc721<any>, to?: string): react_query.UseMutationResult<_thirdweb_dev_sdk.TransactionResultWithId<_thirdweb_dev_sdk.NFTMetadataOwner>, unknown, string | {
1616
[x: string]: _thirdweb_dev_sdk.Json;
1717
description?: string | undefined;
1818
image?: any;
@@ -30,7 +30,7 @@ declare function useNFTMint(contract?: Erc721<any>, toAddress?: string): react_q
3030
| Parameter | Type | Description |
3131
| --- | --- | --- |
3232
| contract | Erc721&lt;any&gt; | <i>(Optional)</i> an instace of a contract that extends the Erc721 spec (nft collection, nft drop, custom contract that follows the Erc721 spec) |
33-
| toAddress | string | <i>(Optional)</i> an address to mint the NFT to (defaults to the connected wallet) |
33+
| to | string | <i>(Optional)</i> an address to mint the NFT to (defaults to the connected wallet) |
3434

3535
<b>Returns:</b>
3636

etc/react.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ export function useNFTDrop(contractAddress?: string): NFTDrop | undefined;
486486
export function useNFTList(contract?: Erc721<any>, queryParams?: QueryAllParams): react_query.UseQueryResult<_thirdweb_dev_sdk.NFTMetadataOwner[], unknown>;
487487

488488
// @beta
489-
export function useNFTMint(contract?: Erc721<any>, toAddress?: string): react_query.UseMutationResult<_thirdweb_dev_sdk.TransactionResultWithId<_thirdweb_dev_sdk.NFTMetadataOwner>, unknown, string | {
489+
export function useNFTMint(contract?: Erc721<any>, to?: string): react_query.UseMutationResult<_thirdweb_dev_sdk.TransactionResultWithId<_thirdweb_dev_sdk.NFTMetadataOwner>, unknown, string | {
490490
[x: string]: _thirdweb_dev_sdk.Json;
491491
description?: string | undefined;
492492
image?: any;

0 commit comments

Comments
 (0)