From 8d8d71807df6b775e5b0335eb1b2526a56d42ac6 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 14 Dec 2022 15:35:28 -0300 Subject: refactoring transaction component to standard component with test and examples --- packages/demobank-ui/src/components/EmptyComponentExample/state.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/demobank-ui/src/components/EmptyComponentExample/state.ts') diff --git a/packages/demobank-ui/src/components/EmptyComponentExample/state.ts b/packages/demobank-ui/src/components/EmptyComponentExample/state.ts index d194b3f97..e147a7ccf 100644 --- a/packages/demobank-ui/src/components/EmptyComponentExample/state.ts +++ b/packages/demobank-ui/src/components/EmptyComponentExample/state.ts @@ -14,10 +14,10 @@ GNU Taler; see the file COPYING. If not, see */ -import { wxApi } from "../../wxApi.js"; +// import { wxApi } from "../../wxApi.js"; import { Props, State } from "./index.js"; -export function useComponentState({ p }: Props, api: typeof wxApi): State { +export function useComponentState({ p }: Props): State { return { status: "ready", error: undefined, -- cgit v1.2.3