diff options
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); |