From b9aac61ab81699cfface01732669862051ec7c50 Mon Sep 17 00:00:00 2001 From: noah Date: Mon, 9 Mar 2026 22:11:55 +0100 Subject: [PATCH] Can convert a file multiple times now --- src/components/FileRow.tsx | 27 +++++++++++++++++---------- src/hooks/useFileUpload.ts | 13 +++++++++++-- 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/src/components/FileRow.tsx b/src/components/FileRow.tsx index df4d6d7..23e371a 100644 --- a/src/components/FileRow.tsx +++ b/src/components/FileRow.tsx @@ -72,9 +72,9 @@ export function FileRow({ {formatFileSize(file.size)} - {/* Format selector */} + {/* Format selector — always available (even after conversion) */}
- {file.availableFormats.length > 0 && file.status !== 'done' ? ( + {file.availableFormats.length > 0 && file.status !== 'converting' ? (
@@ -89,7 +89,7 @@ export function FileRow({ ))}
- ) : file.status === 'done' ? ( + ) : file.status === 'converting' ? ( - - - - +
+ {/* Format selector — pick a new format to convert again */} +