(config)
| 18710 | } |
| 18711 | |
| 18712 | function hasValidKey(config) { |
| 18713 | { |
| 18714 | if (hasOwnProperty.call(config, 'key')) { |
| 18715 | var getter = Object.getOwnPropertyDescriptor(config, 'key').get; |
| 18716 | if (getter && getter.isReactWarning) { |
| 18717 | return false; |
| 18718 | } |
| 18719 | } |
| 18720 | } |
| 18721 | return config.key !== undefined; |
| 18722 | } |
| 18723 | |
| 18724 | function defineKeyPropWarningGetter(props, displayName) { |
| 18725 | var warnAboutAccessingKey = function () { |
no outgoing calls
no test coverage detected