Fix perf tab missing key warnings

Summary: Closes https://github.com/facebook/react-native/pull/6865

Differential Revision: D3155343

fb-gh-sync-id: e020d92e928723db1a96a47f45627a4d85af4a0f
fbshipit-source-id: e020d92e928723db1a96a47f45627a4d85af4a0f
This commit is contained in:
Goran Gajic 2016-04-07 23:37:48 -07:00 коммит произвёл Facebook Github Bot 1
Родитель 528cf68fa0
Коммит b7a32726aa
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -26,7 +26,7 @@ var PerformanceOverlay = React.createClass({
if (perfLogs[key].totalTime) {
var unit = (key === 'BundleSize') ? 'b' : 'ms';
items.push(
<View style={styles.row}>
<View style={styles.row} key={key}>
<Text style={[styles.text, styles.label]}>{key}</Text>
<Text style={[styles.text, styles.totalTime]}>
{perfLogs[key].totalTime + unit}