From dac218a4a949faa0d79303701fde84e74e3e87c5 Mon Sep 17 00:00:00 2001 From: empyrical Date: Sat, 9 Nov 2019 18:56:24 -0800 Subject: [PATCH] RNTester: Add missing key attribute in NewAppScreen example (#27180) Summary: This pull request adds a missing key attribute to an array of elements in the example for `NewAppScreen`. This results in the "missing key" warning no longer appearing when viewing this example. [General] [Fixed] - RNTester: Add missing key attribute in NewAppScreen example Pull Request resolved: https://github.com/facebook/react-native/pull/27180 Test Plan: When viewing this example in RNTester, this warning is no longer printed. Differential Revision: D18418198 Pulled By: mdvacca fbshipit-source-id: 8fbe51da7b714e3e94fd2186ea8cc4e3606d9f95 --- .../rn-tester/js/examples/NewAppScreen/NewAppScreenExample.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/rn-tester/js/examples/NewAppScreen/NewAppScreenExample.js b/packages/rn-tester/js/examples/NewAppScreen/NewAppScreenExample.js index e0a9857a41e5c9..5d8be8bdf1e1c4 100644 --- a/packages/rn-tester/js/examples/NewAppScreen/NewAppScreenExample.js +++ b/packages/rn-tester/js/examples/NewAppScreen/NewAppScreenExample.js @@ -50,9 +50,7 @@ exports.examples = [ {Object.keys(Colors).map(key => ( ))}