mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 03:26:07 +00:00
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:
parent
528cf68fa0
commit
b7a32726aa
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user