mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +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