Skip to content

Commit

Permalink
Fix perf tab missing key warnings
Browse files Browse the repository at this point in the history
Summary: Closes facebook#6865

Differential Revision: D3155343

fb-gh-sync-id: e020d92e928723db1a96a47f45627a4d85af4a0f
fbshipit-source-id: e020d92e928723db1a96a47f45627a4d85af4a0f
  • Loading branch information
gorangajic authored and Facebook Github Bot 1 committed Apr 8, 2016
1 parent 528cf68 commit b7a3272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Inspector/PerformanceOverlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit b7a3272

Please sign in to comment.