Skip to content

Commit

Permalink
Remove 'displayName' prop from 'PickerExample' component
Browse files Browse the repository at this point in the history
Summary:The value of the displayName was wrong (had space in it). Also the babel plugin for display name already adds display names. So we shouldn't need to do it manually.

As a side effect, it breaks the UIExplorer app when HMR is enabled (that's how I found it).
Closes facebook#6193

Differential Revision: D2987160

fb-gh-sync-id: fd64112c26741fab1385454a0ce978ec1eaf2415
shipit-source-id: fd64112c26741fab1385454a0ce978ec1eaf2415
  • Loading branch information
satya164 authored and Facebook Github Bot 4 committed Feb 28, 2016
1 parent 7c2c6a9 commit 3cc4f97
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Examples/UIExplorer/PickerAndroidExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ const PickerExample = React.createClass({
};
},

displayName: 'Android Picker',

render: function() {
return (
<UIExplorerPage title="<Picker>">
Expand Down

0 comments on commit 3cc4f97

Please sign in to comment.