fix: fixed typing in ProjectModal, removed unused DealStatus enum

This commit is contained in:
2025-02-10 12:09:31 +04:00
parent 580552bd47
commit 648fffeb46
5 changed files with 6 additions and 52 deletions

View File

@@ -1,4 +1,4 @@
import { ProjectSchema } from "../../../../client";
import { type ProjectSchemaWithCount } from "../../../../client";
import { ContextModalProps } from "@mantine/modals";
import { ActionIcon, Flex, rem, Stack, TextInput, Tooltip } from "@mantine/core";
import { BaseTable } from "../../../../components/BaseTable/BaseTable.tsx";
@@ -75,7 +75,7 @@ const ProjectsModal = ({ innerProps }: ContextModalProps<Props>) => {
</Tooltip>
</Flex>
),
} as MRT_TableOptions<ProjectSchema>
} as MRT_TableOptions<ProjectSchemaWithCount>
}
/>
</Stack>