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:
@@ -54,7 +54,9 @@ export function ArchiveConfirmDialog({
|
||||
onConfirm();
|
||||
}}
|
||||
disabled={isLoading}
|
||||
className={isArchived ? '' : 'bg-destructive text-destructive-foreground hover:bg-destructive/90'}
|
||||
className={
|
||||
isArchived ? '' : 'bg-destructive text-destructive-foreground hover:bg-destructive/90'
|
||||
}
|
||||
>
|
||||
{isLoading && <Loader2 className="mr-2 h-4 w-4 animate-spin" />}
|
||||
{action}
|
||||
|
||||
@@ -20,10 +20,7 @@ interface EmptyStateProps {
|
||||
export function EmptyState({ icon: Icon, title, description, action, className }: EmptyStateProps) {
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'flex flex-col items-center justify-center text-center py-16 px-4',
|
||||
className,
|
||||
)}
|
||||
className={cn('flex flex-col items-center justify-center text-center py-16 px-4', className)}
|
||||
>
|
||||
{Icon && (
|
||||
<div className="w-12 h-12 rounded-full bg-muted flex items-center justify-center mb-4">
|
||||
@@ -31,9 +28,7 @@ export function EmptyState({ icon: Icon, title, description, action, className }
|
||||
</div>
|
||||
)}
|
||||
<h3 className="text-base font-semibold text-foreground mb-1">{title}</h3>
|
||||
{description && (
|
||||
<p className="text-sm text-muted-foreground max-w-sm mb-4">{description}</p>
|
||||
)}
|
||||
{description && <p className="text-sm text-muted-foreground max-w-sm mb-4">{description}</p>}
|
||||
{action && (
|
||||
<Button onClick={action.onClick} size="sm">
|
||||
{action.label}
|
||||
|
||||
@@ -15,10 +15,7 @@ export function TagBadge({ name, color, className }: TagBadgeProps) {
|
||||
className,
|
||||
)}
|
||||
>
|
||||
<span
|
||||
className="h-2 w-2 rounded-full shrink-0"
|
||||
style={{ backgroundColor: color }}
|
||||
/>
|
||||
<span className="h-2 w-2 rounded-full shrink-0" style={{ backgroundColor: color }} />
|
||||
{name}
|
||||
</span>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user