aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/paths/instance/products/update
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-11-04 10:54:45 -0300
committerSebastian <sebasjm@gmail.com>2022-11-04 11:56:05 -0300
commit50e51429ee82190f3c60157a84f13d473d34cb49 (patch)
tree4acc03b7d7b1b453d3d5663e5ffc07d9f0f237d1 /packages/merchant-backoffice-ui/src/paths/instance/products/update
parent1c46406828648546f6bffbdb76a01a405515c04c (diff)
downloadwallet-core-50e51429ee82190f3c60157a84f13d473d34cb49.tar.xz
add index.js to import that point to folders
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.tsx2
-rw-r--r--packages/merchant-backoffice-ui/src/paths/instance/products/update/index.tsx4
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";