mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1844536 - [devtools] Remove unused toggle scope props r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D186871
This commit is contained in:
parent
b69f823dd3
commit
d820233ea8
@ -57,7 +57,6 @@ class Scopes extends PureComponent {
|
||||
originalFrameScopes: PropTypes.object,
|
||||
removeWatchpoint: PropTypes.func.isRequired,
|
||||
setExpandedScope: PropTypes.func.isRequired,
|
||||
toggleMapScopes: PropTypes.func.isRequired,
|
||||
unHighlightDomElement: PropTypes.func.isRequired,
|
||||
why: PropTypes.object.isRequired,
|
||||
selectedFrame: PropTypes.object,
|
||||
@ -100,10 +99,6 @@ class Scopes extends PureComponent {
|
||||
}
|
||||
}
|
||||
|
||||
onToggleMapScopes = () => {
|
||||
this.props.toggleMapScopes();
|
||||
};
|
||||
|
||||
onContextMenu = (event, item) => {
|
||||
const { addWatchpoint, removeWatchpoint } = this.props;
|
||||
|
||||
@ -311,7 +306,6 @@ export default connect(mapStateToProps, {
|
||||
openElementInInspector: actions.openElementInInspectorCommand,
|
||||
highlightDomElement: actions.highlightDomElement,
|
||||
unHighlightDomElement: actions.unHighlightDomElement,
|
||||
toggleMapScopes: actions.toggleMapScopes,
|
||||
setExpandedScope: actions.setExpandedScope,
|
||||
addWatchpoint: actions.addWatchpoint,
|
||||
removeWatchpoint: actions.removeWatchpoint,
|
||||
|
Loading…
Reference in New Issue
Block a user