diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/products/update')
3 files changed, 12 insertions, 12 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/products/update/Update.stories.tsx b/packages/merchant-backoffice-ui/src/paths/instance/products/update/Update.stories.tsx index 3a57f7fac..f97d6d367 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/products/update/Update.stories.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/products/update/Update.stories.tsx @@ -20,7 +20,7 @@ */ import { h, VNode, FunctionalComponent } from 'preact'; -import { UpdatePage as TestedComponent } from './UpdatePage'; +import { UpdatePage as TestedComponent } from "./UpdatePage.js"; export default { 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 d7eb3d162..2185602f3 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 @@ -20,10 +20,10 @@ */ import { h, VNode } from "preact"; -import { AsyncButton } from "../../../../components/exception/AsyncButton"; -import { ProductForm } from "../../../../components/product/ProductForm"; -import { MerchantBackend, WithId } from "../../../../declaration"; -import { useListener } from "../../../../hooks/listener"; +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"; 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 a6a61c815..5fb691995 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 @@ -21,14 +21,14 @@ import { Fragment, h, VNode } from 'preact'; import { useState } from 'preact/hooks'; -import { Loading } from '../../../../components/exception/loading'; -import { NotificationCard } from '../../../../components/menu'; -import { MerchantBackend } from '../../../../declaration'; -import { HttpError } from '../../../../hooks/backend'; -import { useProductAPI, useProductDetails } from '../../../../hooks/product'; +import { Loading } from "../../../../components/exception/loading.js"; +import { NotificationCard } from "../../../../components/menu.js"; +import { MerchantBackend } from "../../../../declaration.js"; +import { HttpError } from "../../../../hooks/backend.js"; +import { useProductAPI, useProductDetails } from "../../../../hooks/product.js"; import { useTranslator } from '../../../../i18n'; -import { Notification } from '../../../../utils/types'; -import { UpdatePage } from './UpdatePage'; +import { Notification } from "../../../../utils/types.js"; +import { UpdatePage } from "./UpdatePage.js"; export type Entity = MerchantBackend.Products.ProductAddDetail interface Props { |