Skip to content

Commit

Permalink
Style nits for #194
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwcomeau committed Oct 14, 2017
1 parent 49ca54f commit 8a12eb4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/FlipMove.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ class FlipMove extends Component<ConvertedProps, FlipMoveState> {
// of truth.
state = {
children: getElementChildren(
this.props? this.props.children: [],
// `this.props` ought to always be defined at this point, but a report
// was made about it not being defined in IE10.
// TODO: Test in IE10, to see if there's an underlying cause that can
// be addressed.
this.props ? this.props.children : [],
).map((element: Element<*>) => ({
...element,
element,
Expand Down

0 comments on commit 8a12eb4

Please sign in to comment.