{accounts.data?.map((account) => (
-
@@ -62,14 +62,14 @@ export function DappExampleList() {
);
}
-function DappExampleCard({ account }: { account: PublicKey }) {
+function CounterCard({ account }: { account: PublicKey }) {
const {
accountQuery,
incrementMutation,
setMutation,
decrementMutation,
closeMutation,
- } = useDappExampleProgramAccount({ account });
+ } = useCounterProgramAccount({ account });
const count = useMemo(
() => accountQuery.data?.count ?? 0,
diff --git a/demos/frontend/07_create_dapp_cli/web/components/ui/ui-layout.tsx b/demos/frontend/07_create_dapp_cli/web/components/ui/ui-layout.tsx
index bf2a097f..3ec04eac 100644
--- a/demos/frontend/07_create_dapp_cli/web/components/ui/ui-layout.tsx
+++ b/demos/frontend/07_create_dapp_cli/web/components/ui/ui-layout.tsx
@@ -32,7 +32,7 @@ export function UiLayout({
@@ -71,14 +71,14 @@ export function UiLayout({