fix: build errors

This commit is contained in:
sriram veeraghanta 2024-05-31 13:32:21 +05:30
parent 1cb26fa863
commit 9143e5abc8
2 changed files with 7 additions and 9 deletions

View File

@ -99,7 +99,7 @@ export const EmailNotificationForm: FC<IEmailNotificationFormProps> = (props) =>
render={({ field: { value, onChange } }) => (
<Checkbox
checked={value}
indeterminate={!value && watch("issue_completed")}
intermediate={!value && watch("issue_completed")}
onChange={() => {
setValue("issue_completed", !value, { shouldDirty: true });
onChange(!value);

View File

@ -1,17 +1,15 @@
import { useState } from "react";
import { observer } from "mobx-react";
import { useRouter } from "next/router";
// hooks
// ui
import { Pencil, X, ArrowDown, ArrowUp } from "lucide-react";
import { IState } from "@plane/types";
import { Tooltip, StateGroupIcon } from "@plane/ui";
// icons
// helpers
import { addSpaceIfCamelCase } from "@/helpers/string.helper";
import { Pencil, X, ArrowDown, ArrowUp } from "lucide-react";
// types
import { IState } from "@plane/types";
// ui
import { Tooltip, StateGroupIcon } from "@plane/ui";
// hooks
import { useEventTracker, useProjectState } from "@/hooks/store";
import { usePlatformOS } from "@/hooks/use-platform-os";
// types
type Props = {
index: number;