v1 review pass: fixed some minor bugs
This commit is contained in:
@@ -16,7 +16,9 @@ function mimeIcon(mime: string): string {
|
||||
return "📁";
|
||||
}
|
||||
|
||||
export default function FilePreview({ dump, compact = false }: FilePreviewProps) {
|
||||
export default function FilePreview(
|
||||
{ dump, compact = false }: FilePreviewProps,
|
||||
) {
|
||||
const fileUrl = `${API_URL}/api/files/${dump.id}?v=${dump.fileSize ?? 0}`;
|
||||
const mime = dump.fileMime ?? "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user