Fixed null argument errors for timers and layout animations

This commit is contained in:
Nick Lockwood
2015-08-01 07:44:05 -01:00
parent 3e79838a31
commit 95d1fd142e
7 changed files with 16 additions and 15 deletions

View File

@@ -51,8 +51,7 @@ var LayoutEventsTest = React.createClass({
() => {
debug('layout animation done.');
this.checkLayout(this.addWrapText);
},
(error) => { throw new Error(JSON.stringify(error)); }
}
);
this.setState({viewStyle: {margin: 60}});
},