Skip to content

Commit 8a12eb4

Browse files
committed
Style nits for #194
1 parent 49ca54f commit 8a12eb4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/FlipMove.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ class FlipMove extends Component<ConvertedProps, FlipMoveState> {
6161
// of truth.
6262
state = {
6363
children: getElementChildren(
64-
this.props? this.props.children: [],
64+
// `this.props` ought to always be defined at this point, but a report
65+
// was made about it not being defined in IE10.
66+
// TODO: Test in IE10, to see if there's an underlying cause that can
67+
// be addressed.
68+
this.props ? this.props.children : [],
6569
).map((element: Element<*>) => ({
6670
...element,
6771
element,

0 commit comments

Comments
 (0)