Update for the latest react-router-component