April 4, 2020 at 10:27 am #139256
Is there an error you’re getting or does it just not render. It looks like you’re returning sybling elements. Try nesting both those in a single element perhaps? Also, you’re going from JSX back to JS so curly braces may be necessary as well.
Just for background context. What is your familiarity with JSX conditionals?