From 7f366c8f092703d890cab5d8c8b0c35feb3497bb Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 9 Jun 2022 22:45:22 +0200 Subject: [PATCH] [partial]: fix EditableFilePicker --- components/editable/EditableFilePicker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/editable/EditableFilePicker.tsx b/components/editable/EditableFilePicker.tsx index 85b1009..6437dfc 100644 --- a/components/editable/EditableFilePicker.tsx +++ b/components/editable/EditableFilePicker.tsx @@ -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 & { value: File | "" }) { +export function EditableFilePicker(props: HTMLProps & { value?: undefined }) { return (