From 699d03ce1a175442fe3443e1d1bed14f14e9c197 Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Mon, 22 Apr 2024 21:35:11 +0200 Subject: [PATCH] Cleanup `replayFailedUnitOfWorkWithInvokeGuardedCallback`and `enableProfilerNestedUpdateScheduledHook` (#28891) --- .../src/__tests__/ReactProfilerComponent-test.internal.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/react/src/__tests__/ReactProfilerComponent-test.internal.js b/packages/react/src/__tests__/ReactProfilerComponent-test.internal.js index 325354b63f364..d8fc623a3dafc 100644 --- a/packages/react/src/__tests__/ReactProfilerComponent-test.internal.js +++ b/packages/react/src/__tests__/ReactProfilerComponent-test.internal.js @@ -19,8 +19,6 @@ function loadModules({ enableProfilerTimer = true, enableProfilerCommitHooks = true, enableProfilerNestedUpdatePhase = true, - enableProfilerNestedUpdateScheduledHook = false, - replayFailedUnitOfWorkWithInvokeGuardedCallback = false, } = {}) { ReactFeatureFlags = require('shared/ReactFeatureFlags'); @@ -28,10 +26,6 @@ function loadModules({ ReactFeatureFlags.enableProfilerCommitHooks = enableProfilerCommitHooks; ReactFeatureFlags.enableProfilerNestedUpdatePhase = enableProfilerNestedUpdatePhase; - ReactFeatureFlags.enableProfilerNestedUpdateScheduledHook = - enableProfilerNestedUpdateScheduledHook; - ReactFeatureFlags.replayFailedUnitOfWorkWithInvokeGuardedCallback = - replayFailedUnitOfWorkWithInvokeGuardedCallback; React = require('react'); ReactDOMClient = require('react-dom/client');