diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/components/menu')
4 files changed, 12 insertions, 12 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/menu/LangSelector.tsx b/packages/merchant-backoffice-ui/src/components/menu/LangSelector.tsx index 41d08a58b..4f35e3f76 100644 --- a/packages/merchant-backoffice-ui/src/components/menu/LangSelector.tsx +++ b/packages/merchant-backoffice-ui/src/components/menu/LangSelector.tsx @@ -22,7 +22,7 @@ import { h, VNode } from "preact"; import { useState } from "preact/hooks"; import langIcon from '../../assets/icons/languageicon.svg'; -import { useTranslationContext } from "../../context/translation"; +import { useTranslationContext } from "../../context/translation.js"; import { strings as messages } from '../../i18n/strings' type LangsNames = { diff --git a/packages/merchant-backoffice-ui/src/components/menu/NavigationBar.tsx b/packages/merchant-backoffice-ui/src/components/menu/NavigationBar.tsx index e1bb4c7c0..7ef446bd1 100644 --- a/packages/merchant-backoffice-ui/src/components/menu/NavigationBar.tsx +++ b/packages/merchant-backoffice-ui/src/components/menu/NavigationBar.tsx @@ -21,7 +21,7 @@ import { h, VNode } from 'preact'; import logo from '../../assets/logo.jpeg'; -import { LangSelector } from './LangSelector'; +import { LangSelector } from "./LangSelector.js"; interface Props { onMobileMenu: () => void; diff --git a/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx b/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx index e9c5ef8ae..7dd0983a2 100644 --- a/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx +++ b/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx @@ -21,12 +21,12 @@ import { Fragment, h, VNode } from "preact"; import { useCallback } from "preact/hooks"; -import { useBackendContext } from "../../context/backend"; -import { useConfigContext } from "../../context/config"; -import { useInstanceContext } from "../../context/instance"; -import { useInstanceKYCDetails } from "../../hooks/instance"; +import { useBackendContext } from "../../context/backend.js"; +import { useConfigContext } from "../../context/config.js"; +import { useInstanceContext } from "../../context/instance.js"; +import { useInstanceKYCDetails } from "../../hooks/instance.js"; import { Translate } from "../../i18n"; -import { LangSelector } from "./LangSelector"; +import { LangSelector } from "./LangSelector.js"; interface Props { onLogout: () => void; diff --git a/packages/merchant-backoffice-ui/src/components/menu/index.tsx b/packages/merchant-backoffice-ui/src/components/menu/index.tsx index 0a621af56..2a2e6f819 100644 --- a/packages/merchant-backoffice-ui/src/components/menu/index.tsx +++ b/packages/merchant-backoffice-ui/src/components/menu/index.tsx @@ -17,11 +17,11 @@ import { ComponentChildren, Fragment, h, VNode } from "preact"; import Match from "preact-router/match"; import { useEffect, useState } from "preact/hooks"; -import { AdminPaths } from "../../AdminRoutes"; -import { InstancePaths } from "../../InstanceRoutes"; -import { Notification } from "../../utils/types"; -import { NavigationBar } from "./NavigationBar"; -import { Sidebar } from "./SideBar"; +import { AdminPaths } from "../../AdminRoutes.js"; +import { InstancePaths } from "../../InstanceRoutes.js"; +import { Notification } from "../../utils/types.js"; +import { NavigationBar } from "./NavigationBar.js"; +import { Sidebar } from "./SideBar.js"; function getInstanceTitle(path: string, id: string): string { switch (path) { |