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:
@@ -98,12 +98,7 @@ export function EmailDraftButton({
|
||||
|
||||
return (
|
||||
<>
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
onClick={handleGenerateDraft}
|
||||
disabled={isLoading}
|
||||
>
|
||||
<Button variant="outline" size="sm" onClick={handleGenerateDraft} disabled={isLoading}>
|
||||
{isLoading ? (
|
||||
<>
|
||||
<Loader2 className="mr-1.5 h-3.5 w-3.5 animate-spin" />
|
||||
@@ -117,17 +112,13 @@ export function EmailDraftButton({
|
||||
)}
|
||||
</Button>
|
||||
|
||||
{error && (
|
||||
<p className="text-xs text-destructive mt-1">{error}</p>
|
||||
)}
|
||||
{error && <p className="text-xs text-destructive mt-1">{error}</p>}
|
||||
|
||||
<Sheet open={sheetOpen} onOpenChange={setSheetOpen}>
|
||||
<SheetContent side="right" className="w-full max-w-lg flex flex-col">
|
||||
<SheetHeader>
|
||||
<SheetTitle>Generated Email Draft</SheetTitle>
|
||||
<SheetDescription>
|
||||
Review and edit the draft before sending.
|
||||
</SheetDescription>
|
||||
<SheetDescription>Review and edit the draft before sending.</SheetDescription>
|
||||
</SheetHeader>
|
||||
|
||||
{draft && (
|
||||
|
||||
Reference in New Issue
Block a user