aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/components/exception
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/components/exception
parent1c46406828648546f6bffbdb76a01a405515c04c (diff)
add index.js to import that point to folders
Diffstat (limited to 'packages/merchant-backoffice-ui/src/components/exception')
-rw-r--r--packages/merchant-backoffice-ui/src/components/exception/AsyncButton.tsx4
-rw-r--r--packages/merchant-backoffice-ui/src/components/exception/login.tsx2
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/exception/AsyncButton.tsx b/packages/merchant-backoffice-ui/src/components/exception/AsyncButton.tsx
index e37362b3a..2060425fb 100644
--- a/packages/merchant-backoffice-ui/src/components/exception/AsyncButton.tsx
+++ b/packages/merchant-backoffice-ui/src/components/exception/AsyncButton.tsx
@@ -20,9 +20,9 @@
*/
import { ComponentChildren, h } from "preact";
-import { LoadingModal } from "../modal.js";
+import { LoadingModal } from "../modal/index.js";
import { useAsync } from "../../hooks/async.js";
-import { Translate } from "../../i18n";
+import { Translate } from "../../i18n/index.js";
type Props = {
children: ComponentChildren,
diff --git a/packages/merchant-backoffice-ui/src/components/exception/login.tsx b/packages/merchant-backoffice-ui/src/components/exception/login.tsx
index 142b9911d..eefce2de7 100644
--- a/packages/merchant-backoffice-ui/src/components/exception/login.tsx
+++ b/packages/merchant-backoffice-ui/src/components/exception/login.tsx
@@ -23,7 +23,7 @@ import { h, VNode } from "preact";
import { useState } from "preact/hooks";
import { useBackendContext } from "../../context/backend.js";
import { useInstanceContext } from "../../context/instance.js";
-import { Translate, useTranslator } from "../../i18n";
+import { Translate, useTranslator } from "../../i18n/index.js";
import { Notification } from "../../utils/types.js";
interface Props {