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:
@@ -157,7 +157,7 @@ const TransactionEditDialog: React.FC<TransactionEditDialogProps> = ({
|
|||||||
if (isSubmitting && !newOpen) return;
|
if (isSubmitting && !newOpen) return;
|
||||||
onOpenChange(newOpen);
|
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>
|
<DialogHeader>
|
||||||
<DialogTitle>지출 수정</DialogTitle>
|
<DialogTitle>지출 수정</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
|
|||||||
Reference in New Issue
Block a user