From bdc551ce2a66ad811012fca474d7659099afb0df Mon Sep 17 00:00:00 2001 From: PolariTOON <36267812+PolariTOON@users.noreply.github.com> Date: Fri, 23 Sep 2022 11:30:53 +0200 Subject: [PATCH] chore: Use extensionless specifiers when importing JS files --- react/AppLinker/native.js | 2 +- react/ContactsListModal/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/react/AppLinker/native.js b/react/AppLinker/native.js index 83367d60c7..6b8d8b8bad 100644 --- a/react/AppLinker/native.js +++ b/react/AppLinker/native.js @@ -3,7 +3,7 @@ import { ensureFirstSlash } from 'cozy-client' -import { UNIVERSAL_LINK_URL } from './native.config.js' +import { UNIVERSAL_LINK_URL } from './native.config' export const getUniversalLinkDomain = () => { return UNIVERSAL_LINK_URL diff --git a/react/ContactsListModal/index.jsx b/react/ContactsListModal/index.jsx index 76fc0b304a..0f1b736f42 100644 --- a/react/ContactsListModal/index.jsx +++ b/react/ContactsListModal/index.jsx @@ -13,7 +13,7 @@ import { useCozyDialog } from '../CozyDialogs' import useRealtime from '../hooks/useRealtime' -import useEventListener from '../hooks/useEventListener.js' +import useEventListener from '../hooks/useEventListener' import useBreakpoints from '../hooks/useBreakpoints' import Button from '../Buttons' import PlusIcon from '../Icons/Plus'