import { FC } from "react"; import { ClientSchema } from "../../../client"; import useClientsList from "../../../pages/ClientsPage/hooks/useClientsList.tsx"; import ObjectSelect, { ObjectSelectProps } from "../../ObjectSelect/ObjectSelect.tsx"; type Props = Omit< ObjectSelectProps, "data" | "getLabelFn" | "getValueFn" >; const ClientSelect: FC = (props: Props) => { const { clients } = useClientsList({ all: true }); return ( !cl.isDeleted)} /> ); }; export default ClientSelect;