Skip to content

Commit

Permalink
chore: remove unused argument from schedule requestHostCallback (#27133)
Browse files Browse the repository at this point in the history
Noticed this argument was left in the cleanup from
facebook/react#27130
It seems to me like it would benefit from being cleaned up too.

DiffTrain build for [587ae49d71f218d34393291933d513d2975e22c3](facebook/react@587ae49)
  • Loading branch information
jerrydev0927 committed Jul 20, 2023
1 parent b74998f commit 56ee4d2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
899cb95f52cc83ab5ca1eb1e268c909d3f0961e7
587ae49d71f218d34393291933d513d2975e22c3
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactDOM-profiling.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -17364,7 +17364,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1888 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-d0943a52",
version: "18.3.0-www-classic-c4055c5f",
rendererPackageName: "react-dom"
};
(function (internals) {
Expand Down Expand Up @@ -17408,7 +17408,7 @@ var devToolsConfig$jscomp$inline_1888 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-classic-d0943a52"
reconcilerVersion: "18.3.0-www-classic-c4055c5f"
});
assign(Internals, {
ReactBrowserEventEmitter: {
Expand Down Expand Up @@ -17623,7 +17623,7 @@ exports.unstable_renderSubtreeIntoContainer = function (
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-classic-d0943a52";
exports.version = "18.3.0-www-classic-c4055c5f";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/Scheduler-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ if (typeof localSetImmediate === "function") {
};
}

function requestHostCallback(callback) {
function requestHostCallback() {
if (!isMessageLoopRunning) {
isMessageLoopRunning = true;
schedulePerformWorkUntilDeadline();
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/Scheduler-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ if (typeof localSetImmediate === "function") {
};
}

function requestHostCallback(callback) {
function requestHostCallback() {
if (!isMessageLoopRunning) {
isMessageLoopRunning = true;
schedulePerformWorkUntilDeadline();
Expand Down

0 comments on commit 56ee4d2

Please sign in to comment.