chore: prettier format pass on branch files
Auto-format all files modified during the documents-hub-split feature branch that were not yet aligned with the project's Prettier config (single quotes, semicolons, trailing commas). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
'use client';
|
||||
|
||||
import { Download, Eye, FileText, Film, Image, MoreHorizontal, Pencil, Sheet, Trash2 } from 'lucide-react';
|
||||
import {
|
||||
Download,
|
||||
Eye,
|
||||
FileText,
|
||||
Film,
|
||||
Image,
|
||||
MoreHorizontal,
|
||||
Pencil,
|
||||
Sheet,
|
||||
Trash2,
|
||||
} from 'lucide-react';
|
||||
import { format } from 'date-fns';
|
||||
|
||||
import { Button } from '@/components/ui/button';
|
||||
|
||||
@@ -3,12 +3,7 @@
|
||||
import { useEffect, useState } from 'react';
|
||||
import { ExternalLink } from 'lucide-react';
|
||||
|
||||
import {
|
||||
Dialog,
|
||||
DialogContent,
|
||||
DialogHeader,
|
||||
DialogTitle,
|
||||
} from '@/components/ui/dialog';
|
||||
import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@/components/ui/dialog';
|
||||
import { apiFetch } from '@/lib/api/client';
|
||||
|
||||
interface FilePreviewDialogProps {
|
||||
@@ -99,11 +94,7 @@ export function FilePreviewDialog({
|
||||
)}
|
||||
|
||||
{!loading && !error && previewUrl && isPdf && (
|
||||
<iframe
|
||||
src={previewUrl}
|
||||
title={fileName ?? 'PDF Preview'}
|
||||
className="h-full w-full"
|
||||
/>
|
||||
<iframe src={previewUrl} title={fileName ?? 'PDF Preview'} className="h-full w-full" />
|
||||
)}
|
||||
</div>
|
||||
</DialogContent>
|
||||
|
||||
Reference in New Issue
Block a user