Réponse
{ this.state.authorized ? contactInfo : login }
Colonne
Question
Use a ternary operator. If this.state.authorized is true, make the ternary return contactInfo. Otherwise, make the ternary return login
Thématique






