From 50e51429ee82190f3c60157a84f13d473d34cb49 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 4 Nov 2022 10:54:45 -0300 Subject: add index.js to import that point to folders --- .../merchant-backoffice-ui/src/components/exception/AsyncButton.tsx | 4 ++-- packages/merchant-backoffice-ui/src/components/exception/login.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/merchant-backoffice-ui/src/components/exception') 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 { -- cgit v1.2.3