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

@ -1,5 +1,3 @@
import type { FC } from "react";
import React from "react";
import { cn } from "@plane/utils";
type Props = React.ComponentProps<"button"> & {

View file

@ -1,5 +1,3 @@
import type { FC } from "react";
import React from "react";
import { Search } from "lucide-react";
import { cn } from "@plane/utils";

View file

@ -112,7 +112,7 @@ function AppSidebarButtonItem({ children, onClick, disabled = false, className }
// MAIN COMPONENT
// ============================================================================
type AppSidebarItemComponent = React.FC<AppSidebarItemProps> & {
export type AppSidebarItemComponent = React.FC<AppSidebarItemProps> & {
Label: React.FC<AppSidebarItemLabelProps>;
Icon: React.FC<AppSidebarItemIconProps>;
Link: React.FC<AppSidebarLinkItemProps>;

View file

@ -1,7 +1,5 @@
"use client";
import type { FC } from "react";
import React from "react";
// helpers
import { cn } from "@plane/utils";
type TSidebarNavItem = {

View file

@ -1,4 +1,3 @@
import type { FC } from "react";
import { useEffect, useRef } from "react";
import { observer } from "mobx-react";
// plane helpers