Fix edit button issue

The edit button was causing the page to turn white and the content to disappear. This commit addresses this issue.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-21 09:34:27 +00:00
parent d41b26bd42
commit 492b5264fe

View File

@@ -157,7 +157,7 @@ const TransactionEditDialog: React.FC<TransactionEditDialogProps> = ({
if (isSubmitting && !newOpen) return;
onOpenChange(newOpen);
}}>
<DialogContent className={`sm:max-w-md mx-auto ${isMobile ? 'rounded-xl overflow-hidden' : ''}`}>
<DialogContent className={`sm:max-w-md mx-auto bg-white ${isMobile ? 'rounded-xl overflow-hidden' : ''}`}>
<DialogHeader>
<DialogTitle> </DialogTitle>
<DialogDescription>