render() { return (<li> <Link to="/" style={this.props.canClick ? {pointerEvents: "none"} : null}>Test</Link> </li>) }