Skip to content

Commit

Permalink
Switch to using high order components
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Nov 24, 2015
1 parent f382d7f commit fe7311c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class Router extends Component {
});
}
}
return <router style="position:static;display:inline;">{ active }</router>;
return active[0] || null;
}
}

Expand Down

0 comments on commit fe7311c

Please sign in to comment.