diff --git a/apps/nextjs-example/components/transactionFlow/SingleSigner.tsx b/apps/nextjs-example/components/transactionFlow/SingleSigner.tsx index b44e0d19..0eb07b68 100644 --- a/apps/nextjs-example/components/transactionFlow/SingleSigner.tsx +++ b/apps/nextjs-example/components/transactionFlow/SingleSigner.tsx @@ -44,9 +44,7 @@ export default function SingleSignerTransaction({ nonce: Math.random().toString(16), }; const response = await signMessage(payload); - setSuccessAlertMessage( - JSON.stringify({ onSignMessageAndVerify: response }) - ); + setSuccessAlertMessage(JSON.stringify({ onSignMessage: response })); }; const onSignAndSubmitTransaction = async () => { diff --git a/apps/nextjs-example/pages/index.tsx b/apps/nextjs-example/pages/index.tsx index 1531f4aa..3b7165ce 100644 --- a/apps/nextjs-example/pages/index.tsx +++ b/apps/nextjs-example/pages/index.tsx @@ -14,6 +14,9 @@ import MultiAgentTransaction from "../components/transactionFlow/MultiAgent"; import Row from "../components/Row"; import Col from "../components/Col"; import { Network } from "@aptos-labs/ts-sdk"; +import { Typography } from "antd"; + +const { Link } = Typography; const WalletButtons = dynamic(() => import("../components/WalletButtons"), { suspense: false, @@ -44,6 +47,13 @@ export default function App() {

Aptos Wallet Adapter Tester ({network?.name ?? ""})

+ + Demo app source code +