feat: remove delete button for browser step

This commit is contained in:
karishmas6
2024-10-23 07:33:50 +05:30
parent a4e6f5cf17
commit e20c33ba27

View File

@@ -467,24 +467,6 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
{
step.type === 'text' && (
<>
{confirmedTextSteps[step.id] && hoverStates[step.id] && (
<IconButton
onClick={() => handlePairDelete()}
sx={{
position: 'absolute',
top: -15,
right: -15,
color: 'red',
p: 0,
zIndex: 1,
boxShadow: '5px',
backgroundColor: 'white',
borderRadius: '50%',
}}
>
<DeleteIcon sx={{ fontSize: 40 }} />
</IconButton>
)}
<TextField
label="Label"
value={textLabels[step.id] || step.label || ''}