Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions packages/redux-devtools-app/src/components/TopButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ export default class TopButtons extends Component<Props> {
<Toolbar borderPosition="bottom">
{features.pause && <RecordButton paused={isPaused} />}
{features.persist && <PersistButton />}
{features.lock && (
<LockButton locked={isLocked} disabled={options.lib !== 'redux'} />
)}
{features.lock && <LockButton locked={isLocked} />}
<Divider />
<Button
title="Reset to the state you created the store with"
Expand Down
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