From a01d17e07cdbe483b065cbb8144e4fb1132ada21 Mon Sep 17 00:00:00 2001 From: Maxwell Fortney Date: Wed, 13 Sep 2023 23:50:46 -0400 Subject: [PATCH] testing page --- .../nextjs-starter/pages/payment-element.tsx | 46 +++++++++++++------ 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/packages/starter/nextjs-starter/pages/payment-element.tsx b/packages/starter/nextjs-starter/pages/payment-element.tsx index 50745547f..b44e5a3ad 100644 --- a/packages/starter/nextjs-starter/pages/payment-element.tsx +++ b/packages/starter/nextjs-starter/pages/payment-element.tsx @@ -1,22 +1,38 @@ +import { useState } from "react"; + import { CrossmintPaymentElement } from "@crossmint/client-sdk-react-ui"; export default function PaymentElementPage() { + const [count, setCount] = useState(1); + return ( - { - return "0x1234"; - }, - }} - onEvent={(event) => { - console.log(event); +
+ > + + { + return "0x1234"; + }, + }} + onEvent={(event) => { + console.log(event); + }} + /> +
); }