From 5ee9392e320822265f720ec24486c7c3d6019e47 Mon Sep 17 00:00:00 2001 From: Gearonix Date: Sat, 2 Sep 2023 20:13:25 +0300 Subject: [PATCH] chore: reduced .git folder size --- .../sign-in-modal/ui/sign-in-modal.tsx | 2 +- .../widgets/html-preview/ui/html-preview.tsx | 1 - .../web/shared/src/hooks/use-notifications.ts | 3 ++- .../notifications/notifications-provider.tsx | 2 +- .../web/shared/src/types/common/common.ts | 15 +----------- packages/web/shared/src/types/common/react.ts | 24 +++++++++++++++++++ packages/web/shared/src/types/index.ts | 1 + 7 files changed, 30 insertions(+), 18 deletions(-) create mode 100644 packages/web/shared/src/types/common/react.ts 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 9237d0eb..85ce760a 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,4 +1,4 @@ -import { SignInForm } from '$/common-types' +import { SignInForm } from '@code-gear/api/common' import { Modal } from '@code-gear/web/ui' import { observer } from 'mobx-react-lite' import { useNavigate } from 'react-router-dom' diff --git a/packages/web/editor/src/widgets/html-preview/ui/html-preview.tsx b/packages/web/editor/src/widgets/html-preview/ui/html-preview.tsx index 7be4273c..96e9807b 100644 --- a/packages/web/editor/src/widgets/html-preview/ui/html-preview.tsx +++ b/packages/web/editor/src/widgets/html-preview/ui/html-preview.tsx @@ -34,7 +34,6 @@ const HtmlPreview = () => { -