File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ export function findHostInstanceWithNoPortals(
341341 return hostFiber . stateNode ;
342342}
343343
344- let overrideHook = null ;
344+ let overrideHookState = null ;
345345let overrideProps = null ;
346346
347347if ( __DEV__ ) {
@@ -370,7 +370,7 @@ if (__DEV__) {
370370 } ;
371371
372372 // Support DevTools editable values for useState and useReducer.
373- overrideHook = (
373+ overrideHookState = (
374374 fiber : Fiber ,
375375 index : number ,
376376 path : Array < string | number > ,
@@ -407,7 +407,7 @@ export function injectIntoDevTools(devToolsConfig: DevToolsConfig): boolean {
407407
408408 return injectInternals ( {
409409 ...devToolsConfig ,
410- overrideHook ,
410+ overrideHookState ,
411411 overrideProps,
412412 currentDispatcherRef : ReactCurrentDispatcher ,
413413 findHostInstanceByFiber ( fiber : Fiber ) : Instance | TextInstance | null {
You can’t perform that action at this time.
0 commit comments