diff options
author | Sebastian <sebasjm@gmail.com> | 2022-10-26 14:50:50 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-10-26 14:52:52 -0300 |
commit | b4bad2deaf93eff5858d903cd68b8fdd5a5eecd3 (patch) | |
tree | e6ead0edbd2b56cf9bcd8bc312fb07ed9280c5cc /packages/demobank-ui/src/hooks/async.ts | |
parent | c34e71cf3de3da90d0d1662141aa1754a42ea37a (diff) | |
download | wallet-core-b4bad2deaf93eff5858d903cd68b8fdd5a5eecd3.tar.xz |
pretty
Diffstat (limited to 'packages/demobank-ui/src/hooks/async.ts')
-rw-r--r-- | packages/demobank-ui/src/hooks/async.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/demobank-ui/src/hooks/async.ts b/packages/demobank-ui/src/hooks/async.ts index be41b4e07..0fc197554 100644 --- a/packages/demobank-ui/src/hooks/async.ts +++ b/packages/demobank-ui/src/hooks/async.ts @@ -18,7 +18,7 @@ * * @author Sebastian Javier Marchano (sebasjm) */ -import { useState } from 'preact/hooks'; +import { useState } from "preact/hooks"; // import { cancelPendingRequest } from "./backend"; export interface Options { @@ -51,9 +51,9 @@ export function useAsync<T>( }, tooLong); try { - console.log('calling async', args); + console.log("calling async", args); const result = await fn(...args); - console.log('async back', result); + console.log("async back", result); setData(result); } catch (error) { setError(error); |