Skip to content

Commit f2d36f7

Browse files
author
Łukasz Sobek
authored
Removes tabindex and flowignore (firefox-devtools#6203)
1 parent 93fee34 commit f2d36f7

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/actions/sources/select.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,7 @@ export function selectSourceURL(
5858
if (source) {
5959
const sourceId = source.id;
6060
const location = createLocation({ ...options.location, sourceId });
61-
// flow is unable to comprehend that if an options.location object
62-
// exists, that we have a valid Location object, and if it doesnt,
63-
// we have a valid { sourceId: string } object. So we are overriding
64-
// the error
65-
// $FlowIgnore
66-
await dispatch(selectLocation(location, options.tabIndex));
61+
await dispatch(selectLocation(location));
6762
} else {
6863
dispatch(
6964
({

0 commit comments

Comments
 (0)