fix: remove not used props passed to EditableTypography and fix propTypes
This commit is contained in:
committed by
Ali BARIN
parent
a0651972ab
commit
15fdfbbb7d
@@ -95,7 +95,7 @@ function EditableTypography(props) {
|
||||
}
|
||||
|
||||
EditableTypography.propTypes = {
|
||||
children: PropTypes.string.isRequired,
|
||||
children: PropTypes.string,
|
||||
disabled: PropTypes.bool,
|
||||
iconColor: PropTypes.oneOf(['action', 'inherit']),
|
||||
onConfirm: PropTypes.func,
|
||||
|
||||
@@ -265,8 +265,6 @@ function FlowStep(props) {
|
||||
</Typography>
|
||||
|
||||
<EditableTypography
|
||||
iconPosition="end"
|
||||
iconSize="small"
|
||||
variant="body2"
|
||||
onConfirm={handleStepNameChange}
|
||||
prefixValue={`${step.position}. `}
|
||||
|
||||
Reference in New Issue
Block a user