(config)
| 668 | } |
| 669 | |
| 670 | function hasValidKey(config) { |
| 671 | { |
| 672 | if (hasOwnProperty$1.call(config, 'key')) { |
| 673 | var getter = Object.getOwnPropertyDescriptor(config, 'key').get; |
| 674 | |
| 675 | if (getter && getter.isReactWarning) { |
| 676 | return false; |
| 677 | } |
| 678 | } |
| 679 | } |
| 680 | |
| 681 | return config.key !== undefined; |
| 682 | } |
| 683 | |
| 684 | function defineKeyPropWarningGetter(props, displayName) { |
| 685 | var warnAboutAccessingKey = function () { |
no outgoing calls
no test coverage detected