diff --git a/.changeset/two-moose-eat.md b/.changeset/two-moose-eat.md new file mode 100644 index 00000000000..0f6175342ef --- /dev/null +++ b/.changeset/two-moose-eat.md @@ -0,0 +1,6 @@ +--- +"@thirdweb-dev/react-core": patch +"@thirdweb-dev/react-native": patch +--- + +Fix typo in comments diff --git a/packages/react-core/src/evm/contexts/thirdweb-auth.tsx b/packages/react-core/src/evm/contexts/thirdweb-auth.tsx index 056b16bf1fb..ad5be59e858 100644 --- a/packages/react-core/src/evm/contexts/thirdweb-auth.tsx +++ b/packages/react-core/src/evm/contexts/thirdweb-auth.tsx @@ -28,7 +28,7 @@ export interface ThirdwebAuthConfig { * Secure storage to use for storing the auth token when using JWT tokens. * * Do not use a storage option that stores values accessible outside - * your aplication (like localStorage on web environments) since you may + * your application (like localStorage on web environments) since you may * be exposing your auth token to malicious actors. * * ** By default auth uses cookies so no need to set this unless you want to specifically use JWT tokens ** diff --git a/packages/react-core/src/evm/hooks/async/account-factory.ts b/packages/react-core/src/evm/hooks/async/account-factory.ts index 0919c10656e..7e80895812d 100644 --- a/packages/react-core/src/evm/hooks/async/account-factory.ts +++ b/packages/react-core/src/evm/hooks/async/account-factory.ts @@ -63,7 +63,7 @@ export function useAccounts( * ``` * * @param contract - an instance of a account factory contract - * @returns a response object that includes an array of all accounts associated with the adress + * @returns a response object that includes an array of all accounts associated with the address * @twfeature AccountFactory * @see {@link https://portal.thirdweb.com/react/react.useaccountsforaddress?utm_source=sdk | Documentation} * @beta diff --git a/packages/react-core/src/evm/hooks/async/claim-conditions.ts b/packages/react-core/src/evm/hooks/async/claim-conditions.ts index b79cdd063c7..64e4b954aef 100644 --- a/packages/react-core/src/evm/hooks/async/claim-conditions.ts +++ b/packages/react-core/src/evm/hooks/async/claim-conditions.ts @@ -308,7 +308,7 @@ export function useClaimIneligibilityReasons( * @param contract - an instance of a contract that extends the ERC20, ERC721 or ERC1155 spec and implements the `claimConditions` extension. * @param walletAddress - the wallet address to check the active claim condition for * @param tokenId - the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract) - * @returns the active claim conditon for the wallet address or null if there is no active claim condition + * @returns the active claim condition for the wallet address or null if there is no active claim condition * @twfeature ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1 * @see {@link https://portal.thirdweb.com/react/react.useactiveclaimconditionforwallet?utm_source=sdk | Documentation} * @beta diff --git a/packages/react-core/src/evm/hooks/async/marketplace.ts b/packages/react-core/src/evm/hooks/async/marketplace.ts index 393dbce4c5e..89ad0cb6929 100644 --- a/packages/react-core/src/evm/hooks/async/marketplace.ts +++ b/packages/react-core/src/evm/hooks/async/marketplace.ts @@ -415,7 +415,7 @@ export function useEnglishAuctionsCount( * * @example * ```javascript - * const { data: listings, isLoading, error } = useActiveListings(contract, { seller: "{{wallet_adress}}", tokenContract: "0x...", tokenId: 1, start: 0, count: 100 }); + * const { data: listings, isLoading, error } = useActiveListings(contract, { seller: "{{wallet_address}}", tokenContract: "0x...", tokenId: 1, start: 0, count: 100 }); * ``` * * @param contract - an instance of a marketplace contract diff --git a/packages/react-native/src/core/storage/uploader.ts b/packages/react-native/src/core/storage/uploader.ts index 09cd079c742..c69bbf4a926 100644 --- a/packages/react-native/src/core/storage/uploader.ts +++ b/packages/react-native/src/core/storage/uploader.ts @@ -241,7 +241,7 @@ export class IpfsUploader implements IStorageUploader { // but then we skip because we don't need to upload it multiple times continue; } - // otherwise if file names are the same but they are not the same file then we should throw an error (trying to upload to differnt files but with the same names) + // otherwise if file names are the same but they are not the same file then we should throw an error (trying to upload to different files but with the same names) throw new Error( `[DUPLICATE_FILE_NAME_ERROR] File name ${fileName} was passed for more than one different file.`, );