From 8378454a53ba60b07cfa2a08d3ebe284973bee77 Mon Sep 17 00:00:00 2001 From: Gearonix Date: Fri, 18 Aug 2023 15:36:21 +0300 Subject: [PATCH] fix: fixed tsconfig paths --- apps/client/src/widgets/sign-in-modal/ui/sign-in-modal.tsx | 5 ++--- libs/ui/src/modal/ui/modal.styles.ts | 2 +- libs/ui/src/popover/ui/popover.styles.tsx | 2 +- libs/ui/tsconfig.lib.json | 5 +++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/client/src/widgets/sign-in-modal/ui/sign-in-modal.tsx b/apps/client/src/widgets/sign-in-modal/ui/sign-in-modal.tsx index 92858e01..cabd6b6b 100644 --- a/apps/client/src/widgets/sign-in-modal/ui/sign-in-modal.tsx +++ b/apps/client/src/widgets/sign-in-modal/ui/sign-in-modal.tsx @@ -1,13 +1,12 @@ +import { SignInForm } from '$/common-types' +import { Modal } from '$/ui' import { observer } from 'mobx-react-lite' import { useNavigate } from 'react-router-dom' import { SignInModalTemplate } from '@/entities/sign-in-modal-template' import { useStore } from '@/shared/hooks' import { WrongPassword } from '@/widgets/sign-in-modal/lib/exceptions' -import { SignInForm } from '@/widgets/sign-in-modal/types' - import { - Modal, NotificationsProvider, RoutePaths, useFilteredEffect, diff --git a/libs/ui/src/modal/ui/modal.styles.ts b/libs/ui/src/modal/ui/modal.styles.ts index fbd70ef9..7116fe98 100644 --- a/libs/ui/src/modal/ui/modal.styles.ts +++ b/libs/ui/src/modal/ui/modal.styles.ts @@ -8,7 +8,7 @@ import { flex, shadow, wh -} from '@/styles' +} from '$/styles' export const ModalBackground = styled.div` ${flex('center', 'center')}; diff --git a/libs/ui/src/popover/ui/popover.styles.tsx b/libs/ui/src/popover/ui/popover.styles.tsx index 0e934398..647bae88 100644 --- a/libs/ui/src/popover/ui/popover.styles.tsx +++ b/libs/ui/src/popover/ui/popover.styles.tsx @@ -1,6 +1,6 @@ import styled from 'styled-components' -import { color, customScrollbar } from '@/styles' +import { color, customScrollbar } from '$/styles' interface PopoverStylesProps { readonly $bottom: number diff --git a/libs/ui/tsconfig.lib.json b/libs/ui/tsconfig.lib.json index 9e751499..805a8bb0 100644 --- a/libs/ui/tsconfig.lib.json +++ b/libs/ui/tsconfig.lib.json @@ -8,8 +8,9 @@ ], "baseUrl": ".", "paths": { - "@/*": "src/*", - "$/client-shared": ["../client-shared/src/index.ts"] + "@/*": ["src/*"], + "$/client-shared": ["../client-shared/src/index.ts"], + "$/styles": ["../client-shared/src/styles/index.ts"] } }, "files": [