-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix second level parent (no link / same link as child) #120
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
{subItem.links && ( | ||
<Disclosure.Panel as="ul"> | ||
{subItem.links.map((tertiary) => ( | ||
<li key={tertiary.title}> | ||
<Disclosure.Button | ||
className={`${styles.button} ${styles.tertiary}`} | ||
> | ||
<Link | ||
href={tertiary.href} | ||
onClick={onLinkClick} | ||
className={clsx(styles.item)} | ||
> | ||
{tertiary.title} | ||
</Link> | ||
</Disclosure.Button> | ||
</li> | ||
))} | ||
</Disclosure.Panel> | ||
)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have tertiary level navigation, so removed it because I haven't tested my changes for tertiary level. We can revisit if we need tertiary navigation or more robust fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good
a3095f6
to
0d693db
Compare
Closes PRO-289 and PRO-253.