chore: move modal core components to the UI package (#4794)

* chore: move modal core components to the UI package

* fix: build errors
This commit is contained in:
Aaryan Khandelwal 2024-06-14 17:12:39 +05:30 committed by GitHub
parent 0aca5c7a86
commit 244986554c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 59 additions and 83 deletions

View file

@ -1,7 +1,8 @@
import { FC, useState } from "react";
// types
import type { TIssueAttachment } from "@plane/types";
// components
import { AlertModalCore } from "@/components/core";
// ui
import { AlertModalCore } from "@plane/ui";
// helper
import { getFileName } from "@/helpers/attachment.helper";
// types

View file

@ -4,9 +4,7 @@ import { useEffect, useState } from "react";
// types
import { TIssue } from "@plane/types";
// ui
import { TOAST_TYPE, setToast } from "@plane/ui";
// components
import { AlertModalCore } from "@/components/core";
import { AlertModalCore, TOAST_TYPE, setToast } from "@plane/ui";
// hooks
import { useIssues, useProject } from "@/hooks/store";

View file

@ -6,9 +6,7 @@ import { usePathname } from "next/navigation";
// types
import type { TIssue } from "@plane/types";
// ui
import { TOAST_TYPE, setToast } from "@plane/ui";
// components
import { EModalPosition, EModalWidth, ModalCore } from "@/components/core";
import { EModalPosition, EModalWidth, ModalCore, TOAST_TYPE, setToast } from "@plane/ui";
// constants
import { ISSUE_CREATED, ISSUE_UPDATED } from "@/constants/event-tracker";
import { EIssuesStoreType } from "@/constants/issue";