From 1f57b7ce047583f217be8495e3a7e5cfeda2e175 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 9 Jul 2025 20:13:37 +0000 Subject: [PATCH] Update code example to use BuyWidget with Ethereum chain and amount Co-authored-by: gregfromstl --- .../universal-bridge/components/code-examples.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/universal-bridge/components/code-examples.tsx b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/universal-bridge/components/code-examples.tsx index 86793a04996..396a6c0d8a2 100644 --- a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/universal-bridge/components/code-examples.tsx +++ b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/universal-bridge/components/code-examples.tsx @@ -1,13 +1,20 @@ export const embedCode = (clientId: string) => `\ import { createThirdwebClient } from "thirdweb"; -import { PayEmbed } from "thirdweb/react"; +import { BuyWidget } from "thirdweb/react"; +import { ethereum } from "thirdweb/chains"; const client = createThirdwebClient({ clientId: "${clientId}", }); export default function App() { - return ; + return ( + + ); }`; export const sdkCode = (clientId: string) => `\