From e6a95d246d14a8968833ce7dcfdf0e7622a610ee Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 4 Nov 2022 10:24:29 -0300 Subject: fix imports --- .../merchant-backoffice-ui/src/components/exception/AsyncButton.tsx | 4 ++-- packages/merchant-backoffice-ui/src/components/exception/login.tsx | 6 +++--- 2 files changed, 5 insertions(+), 5 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 92bab4bfb..e37362b3a 100644 --- a/packages/merchant-backoffice-ui/src/components/exception/AsyncButton.tsx +++ b/packages/merchant-backoffice-ui/src/components/exception/AsyncButton.tsx @@ -20,8 +20,8 @@ */ import { ComponentChildren, h } from "preact"; -import { LoadingModal } from "../modal"; -import { useAsync } from "../../hooks/async"; +import { LoadingModal } from "../modal.js"; +import { useAsync } from "../../hooks/async.js"; import { Translate } from "../../i18n"; type Props = { diff --git a/packages/merchant-backoffice-ui/src/components/exception/login.tsx b/packages/merchant-backoffice-ui/src/components/exception/login.tsx index 498d994ed..142b9911d 100644 --- a/packages/merchant-backoffice-ui/src/components/exception/login.tsx +++ b/packages/merchant-backoffice-ui/src/components/exception/login.tsx @@ -21,10 +21,10 @@ import { h, VNode } from "preact"; import { useState } from "preact/hooks"; -import { useBackendContext } from "../../context/backend"; -import { useInstanceContext } from "../../context/instance"; +import { useBackendContext } from "../../context/backend.js"; +import { useInstanceContext } from "../../context/instance.js"; import { Translate, useTranslator } from "../../i18n"; -import { Notification } from "../../utils/types"; +import { Notification } from "../../utils/types.js"; interface Props { withMessage?: Notification; -- cgit v1.2.3