mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
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:
parent
6c350b4a42
commit
da27f388fa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user