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:
Hubert Boma Manilla 2023-09-06 08:46:13 +00:00
parent b69f823dd3
commit d820233ea8

View File

@ -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,