Bug 1747815 - [devtools] Remove unused focusedItem attribute from sources reducer. r=bomsy

Differential Revision: https://phabricator.services.mozilla.com/D134787
This commit is contained in:
Alexandre Poirot 2022-01-09 22:16:50 +00:00
parent 6c350b4a42
commit da27f388fa

View File

@ -70,7 +70,6 @@ export function initialSourcesState(state) {
projectDirectoryRoot: prefs.projectDirectoryRoot,
projectDirectoryRootName: prefs.projectDirectoryRootName,
chromeAndExtensionsEnabled: prefs.chromeAndExtensionsEnabled,
focusedItem: null,
/* FORMAT:
* blackboxedRanges: {
* [source url]: [range, range, ...], -- source lines blackboxed
@ -182,9 +181,6 @@ function update(state = initialSourcesState(), action) {
...initialSourcesState(state),
epoch: state.epoch + 1,
};
case "SET_FOCUSED_SOURCE_ITEM":
return { ...state, focusedItem: action.item };
}
return state;