Skip to content

Commit

Permalink
Clean up findFiberByHostInstance from DevTools Hook
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Dec 9, 2024
1 parent c56c623 commit 97da824
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/react-reconciler/src/ReactFiberReconciler.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import {enableSchedulingProfiler} from 'shared/ReactFeatureFlags';
import ReactSharedInternals from 'shared/ReactSharedInternals';
import {
getPublicInstance,
getInstanceFromNode,
rendererVersion,
rendererPackageName,
extraDevToolsConfig,
Expand Down Expand Up @@ -847,7 +846,6 @@ export function injectIntoDevTools(): boolean {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
// Enables DevTools to detect reconciler version rather than renderer version
// which may not match for third party renderers.
reconcilerVersion: ReactVersion,
Expand Down

0 comments on commit 97da824

Please sign in to comment.