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:
parent
36044e7aae
commit
7f366c8f09
1 changed files with 1 additions and 1 deletions
|
@ -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={
|
||||
|
|
Loading…
Reference in a new issue