mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix build errors
This commit is contained in:
parent
3403fd72c3
commit
752c75f3fb
@ -74,7 +74,7 @@ const ContextMenuWithoutPortal: React.FC<ContextMenuProps> = (props) => {
|
|||||||
|
|
||||||
setPosition({ x: left, y: top });
|
setPosition({ x: left, y: top });
|
||||||
setIsOpen(true);
|
setIsOpen(true);
|
||||||
};
|
}
|
||||||
|
|
||||||
const hideContextMenu = (e: KeyboardEvent) => {
|
const hideContextMenu = (e: KeyboardEvent) => {
|
||||||
if (isOpen && e.key === "Escape") handleClose();
|
if (isOpen && e.key === "Escape") handleClose();
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
import { MutableRefObject } from "react";
|
|
||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
import { MoreVertical } from "lucide-react";
|
|
||||||
// hooks
|
// hooks
|
||||||
import { CycleGanttSidebarBlock } from "@/components/cycles";
|
import { CycleGanttSidebarBlock } from "@/components/cycles";
|
||||||
import { BLOCK_HEIGHT } from "@/components/gantt-chart/constants";
|
import { BLOCK_HEIGHT } from "@/components/gantt-chart/constants";
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import { MutableRefObject } from "react";
|
|
||||||
// ui
|
// ui
|
||||||
import { Loader } from "@plane/ui";
|
import { Loader } from "@plane/ui";
|
||||||
// components
|
// components
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { MutableRefObject, useEffect, useRef, useState } from "react";
|
import { useEffect, useRef, useState } from "react";
|
||||||
import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine";
|
import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine";
|
||||||
import { draggable, dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter";
|
import { draggable, dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter";
|
||||||
import { attachInstruction, extractInstruction } from "@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item";
|
import { attachInstruction, extractInstruction } from "@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item";
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
import React, { MutableRefObject } from "react";
|
|
||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
import { MoreVertical } from "lucide-react";
|
|
||||||
// components
|
// components
|
||||||
import { MultipleSelectEntityAction } from "@/components/core";
|
import { MultipleSelectEntityAction } from "@/components/core";
|
||||||
import { useGanttChart } from "@/components/gantt-chart/hooks";
|
import { useGanttChart } from "@/components/gantt-chart/hooks";
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import { MutableRefObject } from "react";
|
|
||||||
// ui
|
// ui
|
||||||
import { Loader } from "@plane/ui";
|
import { Loader } from "@plane/ui";
|
||||||
// components
|
// components
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
import { MutableRefObject } from "react";
|
|
||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
import { MoreVertical } from "lucide-react";
|
|
||||||
// hooks
|
// hooks
|
||||||
import { BLOCK_HEIGHT } from "@/components/gantt-chart/constants";
|
import { BLOCK_HEIGHT } from "@/components/gantt-chart/constants";
|
||||||
import { useGanttChart } from "@/components/gantt-chart/hooks";
|
import { useGanttChart } from "@/components/gantt-chart/hooks";
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import { MutableRefObject } from "react";
|
|
||||||
// ui
|
// ui
|
||||||
import { Loader } from "@plane/ui";
|
import { Loader } from "@plane/ui";
|
||||||
// components
|
// components
|
||||||
|
Loading…
Reference in New Issue
Block a user