mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
DevTools: Add missing param to fetchFromPage() (#22291)
This commit is contained in:
+2
-2
@@ -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