1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 14:44:21 +00:00

[partial]: fix EditableFilePicker

This commit is contained in:
Steffo 2022-06-09 22:45:22 +02:00
parent 36044e7aae
commit 7f366c8f09
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -7,7 +7,7 @@ import { Editable } from "./Editable";
*
* Value is the file's [fakepath](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#value), as a string.
*/
export function EditableFilePicker(props: HTMLProps<HTMLInputElement> & { value: File | "" }) {
export function EditableFilePicker(props: HTMLProps<HTMLInputElement> & { value?: undefined }) {
return (
<Editable
editing={