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 } }) => ( render={({ field: { value, onChange } }) => (
<Checkbox <Checkbox
checked={value} checked={value}
indeterminate={!value && watch("issue_completed")} intermediate={!value && watch("issue_completed")}
onChange={() => { onChange={() => {
setValue("issue_completed", !value, { shouldDirty: true }); setValue("issue_completed", !value, { shouldDirty: true });
onChange(!value); onChange(!value);

View File

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