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:
parent
0aca5c7a86
commit
244986554c
31 changed files with 59 additions and 83 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue