Skip to content

Fix typo in comments #1839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/two-moose-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@thirdweb-dev/react-core": patch
"@thirdweb-dev/react-native": patch
---

Fix typo in comments
2 changes: 1 addition & 1 deletion packages/react-core/src/evm/contexts/thirdweb-auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 **
Expand Down
2 changes: 1 addition & 1 deletion packages/react-core/src/evm/hooks/async/account-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/react-core/src/evm/hooks/async/marketplace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/src/core/storage/uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export class IpfsUploader implements IStorageUploader<IpfsUploadBatchOptions> {
// 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.`,
);
Expand Down