Client: Some type fixes

This commit is contained in:
Donkie
2023-07-06 18:16:20 +02:00
parent 2b33f73b28
commit 5ac96c7166
2 changed files with 2 additions and 4 deletions

View File

@@ -3,7 +3,6 @@ import { IResourceComponentsProps } from "@refinedev/core";
import { Create, useForm, useSelect } from "@refinedev/antd";
import { Form, Input, Select, InputNumber, ColorPicker } from "antd";
import TextArea from "antd/es/input/TextArea";
import { IVendor } from "../vendors/model";
import { numberFormatter, numberParser } from "../../utils/parsing";
interface CreateOrCloneProps {
@@ -22,7 +21,7 @@ export const FilamentCreate: React.FC<
}
}
const { selectProps } = useSelect<IVendor>({
const { selectProps } = useSelect({
resource: "vendor",
optionLabel: "name",
});