changed
This commit is contained in:
@@ -12,7 +12,6 @@ interface FileRowProps {
|
||||
onRemove: (id: string) => void;
|
||||
onDownload: (file: UploadedFile) => void;
|
||||
onPreview: (file: UploadedFile) => void;
|
||||
onDeleteConverted: (id: string) => void;
|
||||
}
|
||||
|
||||
export function FileRow({
|
||||
@@ -22,7 +21,6 @@ export function FileRow({
|
||||
onRemove,
|
||||
onDownload,
|
||||
onPreview,
|
||||
onDeleteConverted,
|
||||
}: FileRowProps) {
|
||||
const color = CATEGORY_COLORS[file.category];
|
||||
const icon = CATEGORY_ICONS[file.category];
|
||||
@@ -105,7 +103,7 @@ export function FileRow({
|
||||
|
||||
{/* Status / actions */}
|
||||
<div className="w-[130px] flex items-center justify-end gap-1.5 flex-shrink-0 pr-1">
|
||||
<DesktopStatus file={file} color={color} onRemove={onRemove} onDownload={onDownload} onPreview={onPreview} onDeleteConverted={onDeleteConverted} />
|
||||
<DesktopStatus file={file} color={color} onRemove={onRemove} onDownload={onDownload} onPreview={onPreview}/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -184,14 +182,12 @@ function DesktopStatus({
|
||||
onRemove,
|
||||
onDownload,
|
||||
onPreview,
|
||||
onDeleteConverted,
|
||||
}: {
|
||||
file: UploadedFile;
|
||||
color: string;
|
||||
onRemove: (id: string) => void;
|
||||
onDownload: (file: UploadedFile) => void;
|
||||
onPreview: (file: UploadedFile) => void;
|
||||
onDeleteConverted: (id: string) => void;
|
||||
}) {
|
||||
return (
|
||||
<AnimatePresence mode="wait">
|
||||
|
||||
Reference in New Issue
Block a user