Skip to content

Commit f019024

Browse files
committed
remove lock prop from LockButton
1 parent 2f5a234 commit f019024

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/redux-devtools-app/src/components/buttons/LockButton.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { Dispatch } from 'redux';
88
type DispatchProps = ReturnType<typeof mapDispatchToProps>;
99
interface OwnProps {
1010
locked: boolean | undefined;
11-
disabled: boolean;
1211
}
1312
type Props = DispatchProps & OwnProps;
1413

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

0 commit comments

Comments
 (0)