🚑️(react) fix unexisting import

Since b72d0d5c90 InputRefType doesn't
exist.
We missed some usage of it that are removed in this fix.
This commit is contained in:
Romain Le Cellier
2023-08-10 18:07:28 +02:00
parent 7de28bcf9b
commit 3e1cdbe9d6
4 changed files with 11 additions and 7 deletions

View File

@@ -1,6 +1,5 @@
import React, { forwardRef, InputHTMLAttributes, ReactElement } from "react";
import { Field, FieldProps, FieldState } from ":/components/Forms/Field";
import { InputRefType } from ":/components/Forms/Input";
import { FileUploaderMulti } from ":/components/Forms/FileUploader/FileUploaderMulti";
import { FileUploaderMono } from ":/components/Forms/FileUploader/FileUploaderMono";
@@ -22,7 +21,7 @@ export interface FileUploaderProps
fakeDefaultFiles?: File[];
}
export interface FileUploaderRefType extends InputRefType {
export interface FileUploaderRefType {
reset: () => void;
}