diff --git a/packages/ui/src/elements/Nav/index.client.tsx b/packages/ui/src/elements/Nav/index.client.tsx index 9d0124dba..951b9b62b 100644 --- a/packages/ui/src/elements/Nav/index.client.tsx +++ b/packages/ui/src/elements/Nav/index.client.tsx @@ -3,7 +3,7 @@ import { getTranslation } from '@payloadcms/translations' import { useEntityVisibility } from '@payloadcms/ui/providers/EntityVisibility' import LinkWithDefault from 'next/link.js' -import React from 'react' +import React, { Fragment } from 'react' import type { EntityToGroup } from '../../utilities/groupNavItems.js' @@ -58,7 +58,7 @@ export const DefaultNavClient: React.FC = () => { ) return ( -
+ {groups.map(({ entities, label }, key) => { return ( @@ -102,6 +102,6 @@ export const DefaultNavClient: React.FC = () => { ) })} -
+ ) }