Skip to content

Commit 0c24458

Browse files
committed
fixing code snippets
1 parent 6cf92c6 commit 0c24458

File tree

1 file changed

+8
-3
lines changed
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/server-wallets/components

1 file changed

+8
-3
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/server-wallets/components/try-it-out.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,14 @@ export function TryItOut() {
184184
}
185185

186186
const sdkExample = () => `\
187-
import { createThirdwebClient, sendTransaction, getContract, Engine } from "thirdweb";
187+
import {
188+
createThirdwebClient,
189+
sendTransaction,
190+
getContract,
191+
Engine,
192+
} from "thirdweb";
188193
import { baseSepolia } from "thirdweb/chains";
189-
import { claimTo } from "thirdweb/extensions/1155";
194+
import { claimTo } from "thirdweb/extensions/erc1155";
190195
191196
// Create a thirdweb client
192197
const client = createThirdwebClient({
@@ -228,7 +233,7 @@ const txHash = await Engine.waitForTransactionHash({
228233
client,
229234
transactionId,
230235
});
231-
console.log("Transaction hash:", result.transactionHash);
236+
console.log("Transaction hash:", txHash);
232237
`;
233238

234239
const curlExample = () => `\

0 commit comments

Comments
 (0)