Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Fix: Typo withAllowList
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash094 authored Dec 27, 2023
1 parent 14f912d commit 2b330e4
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions docs/react/hooks/claim-conditions/useclaimconditions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ function App() {
</details>

<details>
<summary>withAllowlist (optional)</summary>
<summary>withAllowList (optional)</summary>
<div>

By default, the hook will not include the allowlist in the returned data.

To include the allowlist in the returned data, set the `withAllowlist` option to `true`.
To include the allowlist in the returned data, set the `withAllowList` option to `true`.

This will add a `snapshot` property to the returned data, which contains the allowlist in an array.

Expand All @@ -94,7 +94,7 @@ function App() {
undefined, // Token ID required for ERC1155 contracts here.
// highlight-start
{
withAllowlist: true,
withAllowList: true,
},
// highlight-end
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ Must be a `string`, `number` or `BigNumber`.

#### options (optional)

Provide an object containing a `withAllowlist` property to include the allowlist in the response.
Provide an object containing a `withAllowList` property to include the allowlist in the response.

By default, the method will not include the allowlist in the returned data.

To include the allowlist in the returned data, set the `withAllowlist` option to `true`.
To include the allowlist in the returned data, set the `withAllowList` option to `true`.

This will add a `snapshot` property to the returned data, which contains the allowlist in an array.

Expand All @@ -186,7 +186,7 @@ const activePhase = contract.erc1155.claimConditions.getActive(
"{{token_id}}",
// highlight-start
{
withAllowlist: true,
withAllowList: true,
},
// highlight-end
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,19 +139,19 @@ const activePhase = await contract.erc20.claimConditions.getActive();

#### options (optional)

Provide an object containing a `withAllowlist` property to include the allowlist in the response.
Provide an object containing a `withAllowList` property to include the allowlist in the response.

By default, the method will not include the allowlist in the returned data.

To include the allowlist in the returned data, set the `withAllowlist` option to `true`.
To include the allowlist in the returned data, set the `withAllowList` option to `true`.

This will add a `snapshot` property to the returned data, which contains the allowlist in an array.

```javascript
const activePhase = contract?.erc20.getActive(
// highlight-start
{
withAllowlist: true,
withAllowList: true,
},
// highlight-end
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,11 @@ const activePhase = await contract.erc721.claimConditions.getActive();

#### options (optional)

Provide an object containing a `withAllowlist` property to include the allowlist in the response.
Provide an object containing a `withAllowList` property to include the allowlist in the response.

By default, the method will not include the allowlist in the returned data.

To include the allowlist in the returned data, set the `withAllowlist` option to `true`.
To include the allowlist in the returned data, set the `withAllowList` option to `true`.

This will add a `snapshot` property to the returned data, which contains the allowlist in an array.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -666,11 +666,11 @@ Must be a `string`, `number` or `BigNumber`.

#### options (optional)

Provide an object containing a `withAllowlist` property to include the allowlist in the response.
Provide an object containing a `withAllowList` property to include the allowlist in the response.

By default, the method will not include the allowlist in the returned data.

To include the allowlist in the returned data, set the `withAllowlist` option to `true`.
To include the allowlist in the returned data, set the `withAllowList` option to `true`.

This will add a `snapshot` property to the returned data, which contains the allowlist in an array.

Expand All @@ -679,7 +679,7 @@ const activePhase = contract.erc1155.claimConditions.getActive(
"{{token_id}}",
// highlight-start
{
withAllowlist: true,
withAllowList: true,
},
// highlight-end
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -570,11 +570,11 @@ const activePhase = await contract.erc721.claimConditions.getActive();

#### options (optional)

Provide an object containing a `withAllowlist` property to include the allowlist in the response.
Provide an object containing a `withAllowList` property to include the allowlist in the response.

By default, the method will not include the allowlist in the returned data.

To include the allowlist in the returned data, set the `withAllowlist` option to `true`.
To include the allowlist in the returned data, set the `withAllowList` option to `true`.

This will add a `snapshot` property to the returned data, which contains the allowlist in an array.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -824,11 +824,11 @@ const activePhase = await contract.erc721.claimConditions.getActive();

#### options (optional)

Provide an object containing a `withAllowlist` property to include the allowlist in the response.
Provide an object containing a `withAllowList` property to include the allowlist in the response.

By default, the method will not include the allowlist in the returned data.

To include the allowlist in the returned data, set the `withAllowlist` option to `true`.
To include the allowlist in the returned data, set the `withAllowList` option to `true`.

This will add a `snapshot` property to the returned data, which contains the allowlist in an array.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -530,19 +530,19 @@ const activePhase = await contract.erc20.claimConditions.getActive();

#### options (optional)

Provide an object containing a `withAllowlist` property to include the allowlist in the response.
Provide an object containing a `withAllowList` property to include the allowlist in the response.

By default, the method will not include the allowlist in the returned data.

To include the allowlist in the returned data, set the `withAllowlist` option to `true`.
To include the allowlist in the returned data, set the `withAllowList` option to `true`.

This will add a `snapshot` property to the returned data, which contains the allowlist in an array.

```javascript
const activePhase = contract?.erc20.getActive(
// highlight-start
{
withAllowlist: true,
withAllowList: true,
},
// highlight-end
);
Expand Down

0 comments on commit 2b330e4

Please sign in to comment.