forked from github/plane
fix: build errors
This commit is contained in:
parent
1cb26fa863
commit
9143e5abc8
@ -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);
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user