aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/components/product
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-05-05 08:38:28 -0300
committerSebastian <sebasjm@gmail.com>2023-05-05 08:52:58 -0300
commitb64bb455a2d51f7e19e517c0bd158ff7d7d9557f (patch)
tree3a91ee40c5ac4b355d2ef33965a9bc2dfd1ef275 /packages/merchant-backoffice-ui/src/components/product
parente90991973c359f1aca5bd34b3344e0295dae0c5d (diff)
downloadwallet-core-b64bb455a2d51f7e19e517c0bd158ff7d7d9557f.tar.xz
update to new web-utils imports
Diffstat (limited to 'packages/merchant-backoffice-ui/src/components/product')
-rw-r--r--packages/merchant-backoffice-ui/src/components/product/InventoryProductForm.tsx2
-rw-r--r--packages/merchant-backoffice-ui/src/components/product/NonInventoryProductForm.tsx2
-rw-r--r--packages/merchant-backoffice-ui/src/components/product/ProductForm.tsx2
-rw-r--r--packages/merchant-backoffice-ui/src/components/product/ProductList.tsx2
4 files changed, 4 insertions, 4 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/product/InventoryProductForm.tsx b/packages/merchant-backoffice-ui/src/components/product/InventoryProductForm.tsx
index 0cb2d555e..b2ec4dd11 100644
--- a/packages/merchant-backoffice-ui/src/components/product/InventoryProductForm.tsx
+++ b/packages/merchant-backoffice-ui/src/components/product/InventoryProductForm.tsx
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License along with
GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
-import { useTranslationContext } from "@gnu-taler/web-util/lib/index.browser";
+import { useTranslationContext } from "@gnu-taler/web-util/browser";
import { h, VNode } from "preact";
import { useState } from "preact/hooks";
import { MerchantBackend, WithId } from "../../declaration.js";
diff --git a/packages/merchant-backoffice-ui/src/components/product/NonInventoryProductForm.tsx b/packages/merchant-backoffice-ui/src/components/product/NonInventoryProductForm.tsx
index 3e7262657..c6d280f94 100644
--- a/packages/merchant-backoffice-ui/src/components/product/NonInventoryProductForm.tsx
+++ b/packages/merchant-backoffice-ui/src/components/product/NonInventoryProductForm.tsx
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License along with
GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
-import { useTranslationContext } from "@gnu-taler/web-util/lib/index.browser";
+import { useTranslationContext } from "@gnu-taler/web-util/browser";
import { Fragment, h, VNode } from "preact";
import { useCallback, useEffect, useState } from "preact/hooks";
import * as yup from "yup";
diff --git a/packages/merchant-backoffice-ui/src/components/product/ProductForm.tsx b/packages/merchant-backoffice-ui/src/components/product/ProductForm.tsx
index 973f88677..7956a9ea5 100644
--- a/packages/merchant-backoffice-ui/src/components/product/ProductForm.tsx
+++ b/packages/merchant-backoffice-ui/src/components/product/ProductForm.tsx
@@ -19,7 +19,7 @@
* @author Sebastian Javier Marchano (sebasjm)
*/
-import { useTranslationContext } from "@gnu-taler/web-util/lib/index.browser";
+import { useTranslationContext } from "@gnu-taler/web-util/browser";
import { h } from "preact";
import { useCallback, useEffect, useState } from "preact/hooks";
import * as yup from "yup";
diff --git a/packages/merchant-backoffice-ui/src/components/product/ProductList.tsx b/packages/merchant-backoffice-ui/src/components/product/ProductList.tsx
index 29556ea70..25751dd96 100644
--- a/packages/merchant-backoffice-ui/src/components/product/ProductList.tsx
+++ b/packages/merchant-backoffice-ui/src/components/product/ProductList.tsx
@@ -16,7 +16,7 @@
import { Amounts } from "@gnu-taler/taler-util";
import { h, VNode } from "preact";
import emptyImage from "../../assets/empty.png";
-import { useTranslationContext } from "@gnu-taler/web-util/lib/index.browser";
+import { useTranslationContext } from "@gnu-taler/web-util/browser";
import { MerchantBackend } from "../../declaration.js";
interface Props {