Skip to content

Commit

Permalink
fix display bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wangtao committed Oct 10, 2017
1 parent a1b2246 commit efd227c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
## 0.0.2 (Oct 10, 2017)
## 0.1.0 (Oct 10, 2017)
* Separated from redux-arena, match version 0.7.1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redux-arena-router",
"version": "0.0.2",
"version": "0.1.0",
"description": "High order components of react-router based on redux-arena",
"scripts": {
"build:cjs":
Expand Down
14 changes: 8 additions & 6 deletions src/hocs/ArenaSwitchMotion/ArenaSwitchMotion.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,14 @@ export default class ArenaSwitchAnimation extends Component {
>
{this.props[oldPlayKey].element}
</div>
<div
key={newPlayKey}
style={numberToStyle("newPlay", newPlayStyle, animationPhase)}
>
{this.props[newPlayKey].element}
</div>
{animationPhase === IN ? null : (
<div
key={newPlayKey}
style={numberToStyle("newPlay", newPlayStyle, animationPhase)}
>
{this.props[newPlayKey].element}
</div>
)}
</div>
);
}}
Expand Down

0 comments on commit efd227c

Please sign in to comment.