I am trying to add the following ternary operator to show my button if I am logged in and If I am not to hide it. The following below keeps throwing me an error.
<img src={this.state.photo} alt="" style="{isLoggedIn ? 'display:' : 'display:none'}" />