mirror of
https://github.com/theoleuthardt/werkzeugkiste.git
synced 2026-06-13 09:37:53 +00:00
fix: if a file is uploaded, not converted and then another file is uploaded, the selected output format is now also reset
This commit is contained in:
parent
80daad2700
commit
3bcd052235
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ export default function DocConverter() {
|
|||
|
||||
setFile(selectedFile);
|
||||
setDownloadUrl("");
|
||||
setSelectedOutputFormat("");
|
||||
|
||||
const matchedFormat = outputFileFormats.find((format) =>
|
||||
format.input.toLowerCase().includes(fileExtension || ""),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue