score:1

Accepted answer
//MAP THROUGH THE DATA - RENDER THE BUTTONS WITH TERM1 and TERM2 TITLE//
  const termSet = TermData[0].terms.map((set, index) => {
  return (
    <>
      <button className="terms-button" key={index}>
        {set.name}
      </button>
    </>
  );
});

Related Query

More Query from same tag