|
|
@ -26,11 +26,11 @@ const DeleteStuffDialog = ({ |
|
|
|
sx={{ overflow: "hidden" }} |
|
|
|
sx={{ overflow: "hidden" }} |
|
|
|
> |
|
|
|
> |
|
|
|
<DialogTitle>食材の削除</DialogTitle> |
|
|
|
<DialogTitle>食材の削除</DialogTitle> |
|
|
|
<DialogContent> |
|
|
|
<DialogContent sx={{ wordBreak: 'break-word' }}> |
|
|
|
<Typography sx={{ fontSize: '1.6rem' }}>{stuffName} を削除します。</Typography> |
|
|
|
<Typography sx={{ fontSize: '1.4rem', fontWeight: 'bold' }}>{stuffName} を削除します。</Typography> |
|
|
|
<Typography variant="body1" color="error">⚠️ 注意: 削除すると復元できません。</Typography> |
|
|
|
<Typography variant="body1" color="error">⚠️ 注意: 削除すると復元できません。</Typography> |
|
|
|
</DialogContent> |
|
|
|
</DialogContent> |
|
|
|
<DialogActions> |
|
|
|
<DialogActions sx={{ display: 'flex', justifyContent: 'flex-end', gap: 2 }}> |
|
|
|
<Button onClick={() => setOpenDialog(false)} >キャンセル</Button> |
|
|
|
<Button onClick={() => setOpenDialog(false)} >キャンセル</Button> |
|
|
|
<Button variant="contained" color="error" onClick={() => { |
|
|
|
<Button variant="contained" color="error" onClick={() => { |
|
|
|
onSubmit(); |
|
|
|
onSubmit(); |
|
|
|