fix: remove success notifications and parse map coordinates safely

This commit is contained in:
2026-06-27 22:28:13 +07:00
parent 0152e7014d
commit 9f60efeb6d
6 changed files with 28 additions and 27 deletions
@@ -158,11 +158,6 @@ export const AddPhotoModal: React.FC<AddPhotoModalProps> = ({ isOpen, onClose, t
if (!response.ok) throw new Error('Tải lên ảnh thất bại');
}
notify({
title: 'Thành công',
message: `Đã tải lên ${selectedFiles.length} ảnh.`,
type: 'success'
});
// Giải phóng bộ nhớ sau khi hoàn tất
previews.forEach(url => URL.revokeObjectURL(url));