Reactjs – Why i can't use the Conditional Rendering like this?
Can someone help me? I'm making a component in react, but I came across the "',' expected" error in the code below: import React, { useState, useEffect } from 'react'; import '../styles/Listagem.css' const Turmas = ({tipoEscolha}) => { return (…