From bb497619e74d12ba6628224d3ac310cd1a17d582 Mon Sep 17 00:00:00 2001
From: Alec Ananian <1013230+alecananian@users.noreply.github.com>
Date: Mon, 3 Mar 2025 07:40:00 -0800
Subject: [PATCH 1/2] playground: fix pay example imports
---
apps/playground-web/src/app/connect/pay/transactions/page.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/playground-web/src/app/connect/pay/transactions/page.tsx b/apps/playground-web/src/app/connect/pay/transactions/page.tsx
index 8aeb7f7ca8b..010734f336e 100644
--- a/apps/playground-web/src/app/connect/pay/transactions/page.tsx
+++ b/apps/playground-web/src/app/connect/pay/transactions/page.tsx
@@ -114,7 +114,7 @@ function NoFundsPopup() {
}
code={`import { trasnfer } from "thirdweb/extensions/erc1155";
- import { PayEmbed, useActiveAccount } from "thirdweb/react";
+ import { TransactionButton, useActiveAccount } from "thirdweb/react";
function App() {
From 334b7c07f1a5eae367834c0fcf24941250e2f29e Mon Sep 17 00:00:00 2001
From: Alec Ananian <1013230+alecananian@users.noreply.github.com>
Date: Mon, 3 Mar 2025 07:44:52 -0800
Subject: [PATCH 2/2] fix typo
---
apps/playground-web/src/app/connect/pay/transactions/page.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/playground-web/src/app/connect/pay/transactions/page.tsx b/apps/playground-web/src/app/connect/pay/transactions/page.tsx
index 010734f336e..00db4054ae7 100644
--- a/apps/playground-web/src/app/connect/pay/transactions/page.tsx
+++ b/apps/playground-web/src/app/connect/pay/transactions/page.tsx
@@ -113,7 +113,7 @@ function NoFundsPopup() {
}
- code={`import { trasnfer } from "thirdweb/extensions/erc1155";
+ code={`import { transfer } from "thirdweb/extensions/erc1155";
import { TransactionButton, useActiveAccount } from "thirdweb/react";