fix: typescript upgrade build errors

This commit is contained in:
sriram veeraghanta 2024-09-10 21:31:32 +05:30
parent 99ab274216
commit 71f3c5c12a
5 changed files with 794 additions and 904 deletions

View file

@ -49,7 +49,7 @@ export const AutoCloseAutomation: React.FC<Props> = observer((props) => {
const defaultState = projectStates?.find((s) => s.group === "cancelled")?.id || null;
const selectedOption = projectStates?.find((s) => s.id === currentProjectDetails?.default_state ?? defaultState);
const selectedOption = projectStates?.find((s) => s.id === (currentProjectDetails?.default_state ?? defaultState));
const currentDefaultState = projectStates?.find((s) => s.id === defaultState);
const initialValues: Partial<IProject> = {