Fix PickerIOSExample

Reviewed By: nicklockwood

Differential Revision: D2735834

fb-gh-sync-id: 8f2777ec2afe007523ea85cca27f40497910d2d1
This commit is contained in:
glevi@fb.com 2015-12-08 13:23:01 -08:00 committed by facebook-github-bot-3
parent 202222504e
commit 066ebc021f
1 changed files with 2 additions and 1 deletions

View File

@ -113,9 +113,10 @@ var PickerStyleExample = React.createClass({
getInitialState: function() {
return {
carMake: 'cadillac',
modelIndex: 0,
};
},
render: function() {
var make = CAR_MAKES_AND_MODELS[this.state.carMake];
var selectionString = make.name + ' ' + make.models[this.state.modelIndex];