diff --git a/src/componets/FileChooser.tsx b/src/componets/FileChooser.tsx index 00ed77a..b2fa6a6 100644 --- a/src/componets/FileChooser.tsx +++ b/src/componets/FileChooser.tsx @@ -60,6 +60,8 @@ export function FileChooser({ onSelected, config }: FileChooserProps) { URL.revokeObjectURL(url); } + const hasConfig = !!config; + return (