fix build errors

This commit is contained in:
rahulramesha 2024-06-10 12:52:44 +05:30
parent 3403fd72c3
commit 752c75f3fb
8 changed files with 2 additions and 11 deletions

View File

@ -74,7 +74,7 @@ const ContextMenuWithoutPortal: React.FC<ContextMenuProps> = (props) => {
setPosition({ x: left, y: top });
setIsOpen(true);
};
}
const hideContextMenu = (e: KeyboardEvent) => {
if (isOpen && e.key === "Escape") handleClose();

View File

@ -1,6 +1,4 @@
import { MutableRefObject } from "react";
import { observer } from "mobx-react";
import { MoreVertical } from "lucide-react";
// hooks
import { CycleGanttSidebarBlock } from "@/components/cycles";
import { BLOCK_HEIGHT } from "@/components/gantt-chart/constants";

View File

@ -1,4 +1,3 @@
import { MutableRefObject } from "react";
// ui
import { Loader } from "@plane/ui";
// components

View File

@ -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 { draggable, dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter";
import { attachInstruction, extractInstruction } from "@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item";

View File

@ -1,6 +1,4 @@
import React, { MutableRefObject } from "react";
import { observer } from "mobx-react";
import { MoreVertical } from "lucide-react";
// components
import { MultipleSelectEntityAction } from "@/components/core";
import { useGanttChart } from "@/components/gantt-chart/hooks";

View File

@ -1,4 +1,3 @@
import { MutableRefObject } from "react";
// ui
import { Loader } from "@plane/ui";
// components

View File

@ -1,6 +1,4 @@
import { MutableRefObject } from "react";
import { observer } from "mobx-react";
import { MoreVertical } from "lucide-react";
// hooks
import { BLOCK_HEIGHT } from "@/components/gantt-chart/constants";
import { useGanttChart } from "@/components/gantt-chart/hooks";

View File

@ -1,4 +1,3 @@
import { MutableRefObject } from "react";
// ui
import { Loader } from "@plane/ui";
// components