mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Add missing space to key warning (#10179)
Found this when running the warnings script.
This commit is contained in:
1 parent
4dabdd2a30
commit
7c63d0178d
1 file changed
+1
-1
@@ -46,7 +46,7 @@ function instantiateChild(childInstances, child, name, selfDebugID) {
|
||||
if (!keyUnique) {
|
||||
warning(
|
||||
false,
|
||||
'flattenChildren(...):' +
|
||||
'flattenChildren(...): ' +
|
||||
'Encountered two children with the same key, `%s`. ' +
|
||||
'Keys should be unique so that components maintain their identity ' +
|
||||
'across updates. Non-unique keys may cause children to be ' +
|
||||
|
||||
Reference in new issue
Block a user