<Route exact path="/"
render={() => {
let token = getParameterByName('accessToken',history.location.search)
if(token!=undefined&& token!=null){
this.props.getProfileInfo(token)
}
return (<Redirect to={`/list/${id}`}/>)
}}
/>