fix: eslint errors and warnings (#8149)

This commit is contained in:
sriram veeraghanta 2025-11-20 19:31:22 +05:30 committed by GitHub
parent 83fdebf64d
commit 8307badae5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
137 changed files with 97 additions and 216 deletions

View file

@ -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

View file

@ -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";