diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/products/update')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/products/update/UpdatePage.tsx | 2 | ||||
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/products/update/index.tsx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/products/update/UpdatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/products/update/UpdatePage.tsx index 2185602f3..ff1b3979d 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/products/update/UpdatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/products/update/UpdatePage.tsx @@ -24,7 +24,7 @@ import { AsyncButton } from "../../../../components/exception/AsyncButton.js"; import { ProductForm } from "../../../../components/product/ProductForm.js"; import { MerchantBackend, WithId } from "../../../../declaration.js"; import { useListener } from "../../../../hooks/listener.js"; -import { Translate, useTranslator } from "../../../../i18n"; +import { Translate, useTranslator } from "../../../../i18n/index.js"; type Entity = MerchantBackend.Products.ProductDetail & { product_id: string } diff --git a/packages/merchant-backoffice-ui/src/paths/instance/products/update/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/products/update/index.tsx index 5fb691995..59cfec15a 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/products/update/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/products/update/index.tsx @@ -22,11 +22,11 @@ import { Fragment, h, VNode } from 'preact'; import { useState } from 'preact/hooks'; import { Loading } from "../../../../components/exception/loading.js"; -import { NotificationCard } from "../../../../components/menu.js"; +import { NotificationCard } from "../../../../components/menu/index.js"; import { MerchantBackend } from "../../../../declaration.js"; import { HttpError } from "../../../../hooks/backend.js"; import { useProductAPI, useProductDetails } from "../../../../hooks/product.js"; -import { useTranslator } from '../../../../i18n'; +import { useTranslator } from '../../../../i18n/index.js'; import { Notification } from "../../../../utils/types.js"; import { UpdatePage } from "./UpdatePage.js"; |