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
Родитель 6c350b4a42
Коммит da27f388fa
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

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