diff options
author | Sebastian <sebasjm@gmail.com> | 2022-12-14 15:35:28 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-12-14 15:35:28 -0300 |
commit | 8d8d71807df6b775e5b0335eb1b2526a56d42ac6 (patch) | |
tree | 6b4a15698e8119d66995ead2e7e69e2fb8938450 /packages/demobank-ui/src/components/EmptyComponentExample/state.ts | |
parent | d0dd7a155fcb63dc4d4859f51a681fc084ec4d7a (diff) |
refactoring transaction component to standard component with test and examples
Diffstat (limited to 'packages/demobank-ui/src/components/EmptyComponentExample/state.ts')
-rw-r--r-- | packages/demobank-ui/src/components/EmptyComponentExample/state.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/> */ -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, |