mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
refactor of ReactComponentTreeHook to isolate dev methods
This commit is contained in:
@@ -58,7 +58,7 @@ function flattenSingleChildIntoContext(
|
||||
'`%s`. Child keys must be unique; when two children share a key, only ' +
|
||||
'the first child will be used.%s',
|
||||
KeyEscapeUtils.unescape(name),
|
||||
ReactComponentTreeHook.getStackAddendumByID(selfDebugID)
|
||||
(ReactComponentTreeHook: any).getStackAddendumByID(selfDebugID)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user