mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 01:26:48 +03:00
remove lock prop from LockButton
This commit is contained in:
parent
2f5a234638
commit
f019024b21
|
@ -8,7 +8,6 @@ import { Dispatch } from 'redux';
|
|||
type DispatchProps = ReturnType<typeof mapDispatchToProps>;
|
||||
interface OwnProps {
|
||||
locked: boolean | undefined;
|
||||
disabled: boolean;
|
||||
}
|
||||
type Props = DispatchProps & OwnProps;
|
||||
|
||||
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user