nextjs – not showing values when looping through Object.entries [duplicate]

I am trying to create a side navigation menu that’s divided into sections, each with a title and an array of links. When I loop through Object.entries, the section title is showing, but the array of links is not showing.

export default function AdminSideNav() {
  return (
    <div className={`${styles.admin_sidenav}`}>
      {Object.entries(sidenav).map(([sectionTitle, linkList]) => (
        <div>
          <h4 key={sectionTitle} className={`${styles.section_title}`}>
            {sectionTitle}
          </h4>
          {linkList.map((section, idx) => {
            <p key={idx} className={`${styles.section_name}`}>
              {section.name}
            </p>;
          })}
        </div>
      ))}
    </div>
  );
}

screenshot