style: padronizar dialogs e aplicar formatação Biome

DialogContent: padding p-6→p-10, max-w-lg→max-w-xl.
DialogFooter/AlertDialogFooter: botões com flex-1 (largura igual).
Remove gap-3/w-full redundantes de 12+ dialogs.

Reformatação Biome: line wrapping, import ordering.
Error component renomeado para evitar shadowing do global Error.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Felipe Coutinho
2026-02-26 17:22:59 +00:00
parent 803e273538
commit 96118d85e4
24 changed files with 70 additions and 56 deletions

View File

@@ -88,7 +88,7 @@ export function BudgetDialog({
setFormState(initialState);
setErrorMessage(null);
}
}, [dialogOpen, setFormState, budget, defaultPeriod]);
}, [dialogOpen, setFormState, initialState]);
// Clear error when dialog closes
useEffect(() => {
@@ -180,7 +180,7 @@ export function BudgetDialog({
Cadastre pelo menos uma categoria de despesa para criar um
orçamento.
</div>
<DialogFooter className="gap-3">
<DialogFooter>
<Button
type="button"
variant="outline"
@@ -242,7 +242,7 @@ export function BudgetDialog({
</p>
) : null}
<DialogFooter className="gap-3">
<DialogFooter>
<Button
type="button"
variant="outline"