mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
DevTools: Add missing param to fetchFromPage() (#22291)
This commit is contained in:
@@ -258,7 +258,7 @@ function createPanelIfReactLoaded() {
|
||||
}
|
||||
|
||||
// Edge case where getContent() returned null; fall back to fetch.
|
||||
fetchFromPage(url, resolve);
|
||||
fetchFromPage(url, resolve, reject);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -273,7 +273,7 @@ function createPanelIfReactLoaded() {
|
||||
}
|
||||
|
||||
// No matching URL found; fall back to fetch.
|
||||
fetchFromPage(url, resolve);
|
||||
fetchFromPage(url, resolve, reject);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user