From ac62d0f3fada9d62753b21df411b48616579063f Mon Sep 17 00:00:00 2001 From: literat Date: Tue, 20 Feb 2024 16:36:40 +0100 Subject: [PATCH] fixup! Chore(web-react): Resolve paths to icons using alias --- .../web-react/src/components/FileUploader/demo/index.tsx | 2 +- .../web-react/src/components/TooltipModern/demo/index.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/web-react/src/components/FileUploader/demo/index.tsx b/packages/web-react/src/components/FileUploader/demo/index.tsx index 3f8040424a..953e45e9dd 100644 --- a/packages/web-react/src/components/FileUploader/demo/index.tsx +++ b/packages/web-react/src/components/FileUploader/demo/index.tsx @@ -4,7 +4,7 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment, import/extensions, import/no-unresolved // @ts-ignore: No declaration file -import icons from '@lmc-eu/spirit-icons/dist/icons'; +import icons from '@lmc-eu/spirit-icons/icons'; import DocsSection from '../../../../docs/DocsSections'; import { IconsProvider } from '../../../context'; import FileUploaderAttachment from './FileUploaderAttachment'; diff --git a/packages/web-react/src/components/TooltipModern/demo/index.tsx b/packages/web-react/src/components/TooltipModern/demo/index.tsx index 5fb1105798..5499ffbc4d 100644 --- a/packages/web-react/src/components/TooltipModern/demo/index.tsx +++ b/packages/web-react/src/components/TooltipModern/demo/index.tsx @@ -4,17 +4,17 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment, import/extensions, import/no-unresolved // @ts-ignore: No declaration file -import icons from '@lmc-eu/spirit-icons/dist/icons'; +import icons from '@lmc-eu/spirit-icons/icons'; import DocsSection from '../../../../docs/DocsSections'; import { IconsProvider } from '../../../context'; import TooltipDefault from './TooltipDefault'; import TooltipDismissible from './TooltipDismissible'; import TooltipDismissibleViaJS from './TooltipDismissibleViaJS'; +import TooltipHover from './TooltipHover'; +import TooltipIcon from './TooltipIcon'; import TooltipOnHover from './TooltipOnHover'; import TooltipPlacements from './TooltipPlacements'; import TooltipWithFloatingUI from './TooltipWithFloatingUI'; -import TooltipHover from './TooltipHover'; -import TooltipIcon from './TooltipIcon'; ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(