diff options
author | Sebastian <sebasjm@gmail.com> | 2023-05-05 08:36:48 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-05-05 08:52:57 -0300 |
commit | e90991973c359f1aca5bd34b3344e0295dae0c5d (patch) | |
tree | 6bd14c8cac53582f66fb13cbc4fe8b46f0f7c4bb /packages/demobank-ui/src/hooks | |
parent | d61e4fa7196f20717166a2744f8ea3a77cc4addb (diff) | |
download | wallet-core-e90991973c359f1aca5bd34b3344e0295dae0c5d.tar.xz |
update web-utils imports
Diffstat (limited to 'packages/demobank-ui/src/hooks')
-rw-r--r-- | packages/demobank-ui/src/hooks/access.ts | 2 | ||||
-rw-r--r-- | packages/demobank-ui/src/hooks/backend.ts | 6 | ||||
-rw-r--r-- | packages/demobank-ui/src/hooks/circuit.ts | 2 | ||||
-rw-r--r-- | packages/demobank-ui/src/hooks/index.ts | 2 | ||||
-rw-r--r-- | packages/demobank-ui/src/hooks/notification.ts | 2 | ||||
-rw-r--r-- | packages/demobank-ui/src/hooks/settings.ts | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/packages/demobank-ui/src/hooks/access.ts b/packages/demobank-ui/src/hooks/access.ts index 96661ed95..0d4a8bab8 100644 --- a/packages/demobank-ui/src/hooks/access.ts +++ b/packages/demobank-ui/src/hooks/access.ts @@ -19,7 +19,7 @@ import { HttpResponseOk, HttpResponsePaginated, RequestError, -} from "@gnu-taler/web-util/lib/index.browser"; +} from "@gnu-taler/web-util/browser"; import { useEffect, useState } from "preact/hooks"; import { useBackendContext } from "../context/backend.js"; import { MAX_RESULT_SIZE, PAGE_SIZE } from "../utils.js"; diff --git a/packages/demobank-ui/src/hooks/backend.ts b/packages/demobank-ui/src/hooks/backend.ts index c67d1cdeb..df85252f7 100644 --- a/packages/demobank-ui/src/hooks/backend.ts +++ b/packages/demobank-ui/src/hooks/backend.ts @@ -20,13 +20,13 @@ import { HttpError, RequestError, useLocalStorage, -} from "@gnu-taler/web-util/lib/index.browser"; +} from "@gnu-taler/web-util/browser"; import { HttpResponse, HttpResponseOk, RequestOptions, -} from "@gnu-taler/web-util/lib/index.browser"; -import { useApiContext } from "@gnu-taler/web-util/lib/index.browser"; +} from "@gnu-taler/web-util/browser"; +import { useApiContext } from "@gnu-taler/web-util/browser"; import { useCallback, useEffect, useState } from "preact/hooks"; import { useSWRConfig } from "swr"; import { useBackendContext } from "../context/backend.js"; diff --git a/packages/demobank-ui/src/hooks/circuit.ts b/packages/demobank-ui/src/hooks/circuit.ts index 8169947d3..3ed8ad358 100644 --- a/packages/demobank-ui/src/hooks/circuit.ts +++ b/packages/demobank-ui/src/hooks/circuit.ts @@ -20,7 +20,7 @@ import { HttpResponsePaginated, RequestError, useApiContext, -} from "@gnu-taler/web-util/lib/index.browser"; +} from "@gnu-taler/web-util/browser"; import { useEffect, useMemo, useState } from "preact/hooks"; import { useBackendContext } from "../context/backend.js"; import { MAX_RESULT_SIZE, PAGE_SIZE } from "../utils.js"; diff --git a/packages/demobank-ui/src/hooks/index.ts b/packages/demobank-ui/src/hooks/index.ts index 99da9e679..44b0598e6 100644 --- a/packages/demobank-ui/src/hooks/index.ts +++ b/packages/demobank-ui/src/hooks/index.ts @@ -20,7 +20,7 @@ */ import { StateUpdater } from "preact/hooks"; -import { useLocalStorage } from "@gnu-taler/web-util/lib/index.browser"; +import { useLocalStorage } from "@gnu-taler/web-util/browser"; export type ValueOrFunction<T> = T | ((p: T) => T); const calculateRootPath = () => { diff --git a/packages/demobank-ui/src/hooks/notification.ts b/packages/demobank-ui/src/hooks/notification.ts index 7cdece515..9bf621b41 100644 --- a/packages/demobank-ui/src/hooks/notification.ts +++ b/packages/demobank-ui/src/hooks/notification.ts @@ -1,5 +1,5 @@ import { TranslatedString } from "@gnu-taler/taler-util"; -import { memoryMap } from "@gnu-taler/web-util/lib/index.browser"; +import { memoryMap } from "@gnu-taler/web-util/browser"; import { StateUpdater, useEffect, useState } from "preact/hooks"; export type NotificationMessage = ErrorNotification | InfoNotification; diff --git a/packages/demobank-ui/src/hooks/settings.ts b/packages/demobank-ui/src/hooks/settings.ts index 5115f9959..325b583f9 100644 --- a/packages/demobank-ui/src/hooks/settings.ts +++ b/packages/demobank-ui/src/hooks/settings.ts @@ -14,7 +14,7 @@ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ -import { useLocalStorage } from "@gnu-taler/web-util/lib/index.browser"; +import { useLocalStorage } from "@gnu-taler/web-util/browser"; interface Settings { currentWithdrawalOperationId: string | undefined; |