Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 51177fb

Browse files
authored
Fix typos in comments and docs across thirdweb packages (#8033)
Signed-off-by: sashaodessa <[email protected]>
1 parent 1338a0c commit 51177fb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/thirdweb/src/react/core/hooks/contract/useContractEvents.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type UseContractEventsOptions<
3737
*
3838
* ### Using event extensions
3939
*
40-
* The `thirdweb/extesions` export contains event definitions for many popular contracts.
40+
* The `thirdweb/extensions` export contains event definitions for many popular contracts.
4141
* You can use these event definitions to watch for specific events with a type-safe API.
4242
*
4343
* ```jsx

packages/thirdweb/src/react/core/hooks/contract/useWaitForReceipt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function useWaitForReceipt(
3232
},
3333
queryKey: [
3434
"waitForReceipt",
35-
// TODO: here chain can be undfined so we go to a `-1` chain but this feels wrong
35+
// TODO: here chain can be undefined so we go to a `-1` chain but this feels wrong
3636
options?.chain.id || -1,
3737
options?.transactionHash,
3838
] as const,

packages/thirdweb/src/rpc/rpc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export function getRpcClient(
125125
inflight.request.id = index;
126126
// also assign the jsonrpc version
127127
inflight.request.jsonrpc = "2.0";
128-
// assing the request to the requests array (so we don't have to map it again later)
128+
// assign the request to the requests array (so we don't have to map it again later)
129129
requests[index] = inflight.request;
130130
return inflight;
131131
});

packages/thirdweb/src/wallets/in-app/native/ecosystem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import type { EcosystemWallet } from "../core/wallet/types.js";
4848
*
4949
* ### Connect to a restricted ecosystem wallet with your designated partner ID
5050
*
51-
* The parnter ID will be provided to you by the ecosystem with which you're integrating.
51+
* The partner ID will be provided to you by the ecosystem with which you're integrating.
5252
*
5353
* ```ts
5454
* import { ecosystemWallet } from "thirdweb/wallets";

0 commit comments

Comments
 (0)