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

@@ -11,13 +11,12 @@ import {
} from "antd";
import dayjs from "dayjs";
import TextArea from "antd/es/input/TextArea";
import { IVendor } from "../vendors/model";
import { numberFormatter, numberParser } from "../../utils/parsing";
export const FilamentEdit: React.FC<IResourceComponentsProps> = () => {
const { formProps, saveButtonProps } = useForm();
const { selectProps } = useSelect<IVendor>({
const { selectProps } = useSelect({
resource: "vendor",
optionLabel: "name",
});