fix: lints

This commit is contained in:
LAKHAN BAHETI 2024-04-30 18:41:02 +05:30
parent bcd38357b4
commit b009d8d73d
4 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,5 @@
import { Dispatch, SetStateAction, useEffect, useMemo } from "react"; import { Dispatch, SetStateAction, useEffect, useMemo } from "react";
import { observer } from "mobx-react"; import { observer } from "mobx-react";
import { useRouter } from "next/router";
import { TIssue } from "@plane/types"; import { TIssue } from "@plane/types";
import { Loader, TOAST_TYPE, setToast } from "@plane/ui"; import { Loader, TOAST_TYPE, setToast } from "@plane/ui";
// components // components
@ -32,7 +31,6 @@ type Props = {
}; };
export const InboxIssueMainContent: React.FC<Props> = observer((props) => { export const InboxIssueMainContent: React.FC<Props> = observer((props) => {
const router = useRouter();
const { workspaceSlug, projectId, inboxIssue, isEditable, isSubmitting, setIsSubmitting, swrIssueDescription } = const { workspaceSlug, projectId, inboxIssue, isEditable, isSubmitting, setIsSubmitting, swrIssueDescription } =
props; props;
// hooks // hooks

View File

@ -8,8 +8,6 @@ import { DateFilterModal } from "@/components/core";
import { FilterHeader, FilterOption } from "@/components/issues"; import { FilterHeader, FilterOption } from "@/components/issues";
// constants // constants
import { PAST_DURATION_FILTER_OPTIONS } from "@/helpers/inbox.helper"; import { PAST_DURATION_FILTER_OPTIONS } from "@/helpers/inbox.helper";
// hooks
import { useEventTracker } from "@/hooks/store";
type Props = { type Props = {
filterKey: TInboxIssueFilterDateKeys; filterKey: TInboxIssueFilterDateKeys;

View File

@ -6,7 +6,7 @@ import { Avatar, Loader } from "@plane/ui";
// components // components
import { FilterHeader, FilterOption } from "@/components/issues"; import { FilterHeader, FilterOption } from "@/components/issues";
// hooks // hooks
import { useEventTracker, useMember, useUser } from "@/hooks/store"; import { useMember, useUser } from "@/hooks/store";
type Props = { type Props = {
filterKey: TInboxIssueFilterMemberKeys; filterKey: TInboxIssueFilterMemberKeys;

View File

@ -1,7 +1,7 @@
import { FC, useState } from "react"; import { FC, useState } from "react";
import { observer } from "mobx-react"; import { observer } from "mobx-react";
// types // types
import { TInboxIssueFilter, TInboxIssueFilterMemberKeys, TInboxIssueStatus } from "@plane/types"; import { TInboxIssueFilter, TInboxIssueStatus } from "@plane/types";
// components // components
import { FilterHeader, FilterOption } from "@/components/issues"; import { FilterHeader, FilterOption } from "@/components/issues";
// constants // constants