Skip to content

Commit

Permalink
remove lock prop from LockButton
Browse files Browse the repository at this point in the history
  • Loading branch information
EskiMojo14 committed May 6, 2024
1 parent 2f5a234 commit f019024
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Dispatch } from 'redux';
type DispatchProps = ReturnType<typeof mapDispatchToProps>;
interface OwnProps {
locked: boolean | undefined;
disabled: boolean;
}
type Props = DispatchProps & OwnProps;

Expand All @@ -21,7 +20,6 @@ class LockButton extends Component<Props> {
return (
<Button
tooltipPosition="bottom"
disabled={this.props.disabled}
mark={this.props.locked && 'base0D'}
title={this.props.locked ? 'Unlock changes' : 'Lock changes'}
onClick={this.props.lockChanges}
Expand Down

0 comments on commit f019024

Please sign in to comment.