Skip to content

Commit

Permalink
fix key error
Browse files Browse the repository at this point in the history
  • Loading branch information
mshick committed Mar 20, 2024
1 parent 9411e91 commit 323e286
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const MobileMenuLinks = ({ sections }: Pick<Navigation, 'sections'>) => {
</Disclosure.Button>
<Disclosure.Panel className="space-y-1">
{section.subsections?.map((subsection) => (
<>
<div key={subsection.name}>
<p className="bg-white text-body-400 group w-full flex items-center pl-7 pr-2 py-2 text-xs font-medium rounded-md uppercase">
{subsection.name}
</p>
Expand All @@ -52,7 +52,7 @@ export const MobileMenuLinks = ({ sections }: Pick<Navigation, 'sections'>) => {
{link.name}
</Disclosure.Button>
))}
</>
</div>
)) ?? null}
</Disclosure.Panel>
</>
Expand Down

0 comments on commit 323e286

Please sign in to comment.