fix: eslint errors and warnings (#8149)
This commit is contained in:
parent
83fdebf64d
commit
8307badae5
137 changed files with 97 additions and 216 deletions
|
|
@ -14,8 +14,6 @@ import { usePathname } from "next/navigation";
|
|||
import { createRoot } from "react-dom/client";
|
||||
// plane types
|
||||
import type { InstructionType } from "@plane/types";
|
||||
// plane ui
|
||||
import { DropIndicator } from "@plane/ui";
|
||||
// components
|
||||
import { StickyNote } from "../sticky";
|
||||
// helpers
|
||||
|
|
@ -33,11 +31,10 @@ type Props = {
|
|||
};
|
||||
|
||||
export const StickyDNDWrapper = observer(function StickyDNDWrapper(props: Props) {
|
||||
const { stickyId, workspaceSlug, itemWidth, isLastChild, isInFirstRow, isInLastRow, handleDrop, handleLayout } =
|
||||
props;
|
||||
const { stickyId, workspaceSlug, itemWidth, isLastChild, handleDrop, handleLayout } = props;
|
||||
// states
|
||||
const [isDragging, setIsDragging] = useState(false);
|
||||
const [instruction, setInstruction] = useState<InstructionType | undefined>(undefined);
|
||||
const [_instruction, setInstruction] = useState<InstructionType | undefined>(undefined);
|
||||
// refs
|
||||
const elementRef = useRef<HTMLDivElement>(null);
|
||||
// navigation
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
"use client";
|
||||
import type { FC } from "react";
|
||||
import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
// ui
|
||||
import { DragHandle } from "@plane/ui";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue