fix: 삭제 버튼 색생 fix

mpower
minuk926 2 years ago
parent 9d05ef1d1c
commit d760c5ebff

@ -235,7 +235,7 @@ const ModifyJudgeDataForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav
</Button>
</Grid>
<Grid item>
<Button variant="contained" size="small" startIcon={<Delete />} onClick={onRemove}>
<Button variant="contained" size="small" color="error" startIcon={<Delete />} onClick={onRemove}>
삭제
</Button>
</Grid>

@ -142,7 +142,9 @@ const JudgeReview = ({ msDatagb, menuName }) => {
field: 'actions',
type: 'actions',
width: 80,
getActions: (params) => [<GridActionsCellItem icon={<DeleteIcon />} label="Delete" onClick={deleteJudge(params.row)} />],
getActions: (params) => [
<GridActionsCellItem icon={<DeleteIcon />} color="error" label="Delete" onClick={deleteJudge(params.row)} />
],
align: 'center'
}
];

@ -182,7 +182,7 @@ const ModifyBoardForm = (props) => {
</Button>
</Grid>
<Grid item>
<Button disabled={!owner} variant="contained" size="small" startIcon={<Delete />} onClick={onRemove}>
<Button disabled={!owner} variant="contained" size="small" color="error" startIcon={<Delete />} onClick={onRemove}>
삭제
</Button>
</Grid>

@ -210,7 +210,7 @@ const ModifyPublicBoardForm = (props) => {
}
}}
>
<Button disabled={!owner} variant="contained" size="small" startIcon={<Delete />} onClick={onRemove}>
<Button disabled={!owner} variant="contained" size="small" color="error" startIcon={<Delete />} onClick={onRemove}>
삭제
</Button>
</Grid>

@ -176,7 +176,7 @@ const UserManagementForm = (props) => {
}
}}
>
<Button variant="contained" size="small" startIcon={<Delete />} onClick={onRemove}>
<Button variant="contained" size="small" color="error" startIcon={<Delete />} onClick={onRemove}>
삭제
</Button>
</Grid>

Loading…
Cancel
Save