Skip to content

Commit 1cd4867

Browse files
elietimdorr
authored andcommitted
using es2015 object shorthand in examples (#3563)
1 parent f9f5a88 commit 1cd4867

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/auth-flow/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const App = React.createClass({
1212

1313
updateAuth(loggedIn) {
1414
this.setState({
15-
loggedIn: loggedIn
15+
loggedIn
1616
})
1717
},
1818

examples/nested-animations/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const App = ({ children, location: { pathname } }) => {
1818
component="div" transitionName="swap"
1919
transitionEnterTimeout={500} transitionLeaveTimeout={500}
2020
>
21-
{React.cloneElement(children || <div />, { key: key })}
21+
{React.cloneElement(children || <div />, { key })}
2222
</ReactCSSTransitionGroup>
2323
</div>
2424
)

0 commit comments

Comments
 (0)