feat: -rm del icon from TextField
This commit is contained in:
@@ -488,22 +488,12 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
|
|||||||
margin="normal"
|
margin="normal"
|
||||||
error={!!errors[step.id]}
|
error={!!errors[step.id]}
|
||||||
helperText={errors[step.id]}
|
helperText={errors[step.id]}
|
||||||
onMouseEnter={() => handleMouseEnter(step.id)}
|
|
||||||
onMouseLeave={() => handleMouseLeave(step.id)}
|
|
||||||
InputProps={{
|
InputProps={{
|
||||||
readOnly: confirmedTextSteps[step.id],
|
readOnly: confirmedTextSteps[step.id],
|
||||||
startAdornment: (
|
startAdornment: (
|
||||||
<InputAdornment position="start">
|
<InputAdornment position="start">
|
||||||
<EditIcon />
|
<EditIcon />
|
||||||
</InputAdornment>
|
</InputAdornment>
|
||||||
),
|
|
||||||
endAdornment: confirmedTextSteps[step.id] && hoverStates[step.id] && (
|
|
||||||
<InputAdornment position="end">
|
|
||||||
<DeleteIcon
|
|
||||||
onClick={() => handlePairDelete()}
|
|
||||||
sx={{ cursor: 'pointer', color: 'red' }}
|
|
||||||
/>
|
|
||||||
</InputAdornment>
|
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user