fix: eslint fixes and file formatting
This commit is contained in:
parent
473dfc7a5b
commit
53ddef1cd5
954 changed files with 3921 additions and 3809 deletions
|
|
@ -4,16 +4,16 @@ import { useRouter } from "next/router";
|
|||
import { TwitterPicker } from "react-color";
|
||||
import { useForm, Controller } from "react-hook-form";
|
||||
import { Popover, Transition } from "@headlessui/react";
|
||||
import type { IState } from "@plane/types";
|
||||
// ui
|
||||
import { Button, CustomSelect, Input, Tooltip, TOAST_TYPE, setToast } from "@plane/ui";
|
||||
// constants
|
||||
import { STATE_CREATED, STATE_UPDATED } from "constants/event-tracker";
|
||||
import { GROUP_CHOICES } from "constants/project";
|
||||
import { STATE_CREATED, STATE_UPDATED } from "@/constants/event-tracker";
|
||||
import { GROUP_CHOICES } from "@/constants/project";
|
||||
// hooks
|
||||
import { useEventTracker, useProjectState } from "hooks/store";
|
||||
import { usePlatformOS } from "hooks/use-platform-os";
|
||||
import { useEventTracker, useProjectState } from "@/hooks/store";
|
||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||
// types
|
||||
import type { IState } from "@plane/types";
|
||||
|
||||
type Props = {
|
||||
data: IState | null;
|
||||
|
|
@ -241,7 +241,10 @@ export const CreateUpdateStateInline: React.FC<Props> = observer((props) => {
|
|||
name="group"
|
||||
control={control}
|
||||
render={({ field: { value, onChange } }) => (
|
||||
<Tooltip tooltipContent={groupLength === 1 ? "Cannot have an empty group." : "Choose State"} isMobile={isMobile}>
|
||||
<Tooltip
|
||||
tooltipContent={groupLength === 1 ? "Cannot have an empty group." : "Choose State"}
|
||||
isMobile={isMobile}
|
||||
>
|
||||
<div>
|
||||
<CustomSelect
|
||||
disabled={groupLength === 1}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue