File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,19 +23,19 @@ var RouteHandlerMixin = {
23
23
} ,
24
24
25
25
componentDidMount : function ( ) {
26
- this . _updateRouteComponent ( ) ;
26
+ this . _updateRouteComponent ( this . refs [ REF_NAME ] ) ;
27
27
} ,
28
28
29
29
componentDidUpdate : function ( ) {
30
- this . _updateRouteComponent ( ) ;
30
+ this . _updateRouteComponent ( this . refs [ REF_NAME ] ) ;
31
31
} ,
32
32
33
33
componentWillUnmount : function ( ) {
34
- this . context . setRouteComponentAtDepth ( this . getRouteDepth ( ) , null ) ;
34
+ this . _updateRouteComponent ( null ) ;
35
35
} ,
36
36
37
- _updateRouteComponent : function ( ) {
38
- this . context . setRouteComponentAtDepth ( this . getRouteDepth ( ) , this . refs [ REF_NAME ] ) ;
37
+ _updateRouteComponent : function ( component ) {
38
+ this . context . setRouteComponentAtDepth ( this . getRouteDepth ( ) , component ) ;
39
39
} ,
40
40
41
41
getRouteDepth : function ( ) {
You can’t perform that action at this time.
0 commit comments