Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 1a6c15f

Browse files
committed
Simplify markup
1 parent eacc889 commit 1a6c15f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

components/common/Layout.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,10 @@ export default function Layout({children, seo, hasJsonLd}) {
6363
{!!breadcrumbs && !!breadcrumbs.length && (
6464
<div>
6565
{breadcrumbs.map((breadcrumb, index) => (
66-
<>
67-
<span key={index}>
68-
<a href={breadcrumb?.url}>{breadcrumb?.text}</a>
69-
</span>
66+
<span key={index}>
67+
<a href={breadcrumb?.url}>{breadcrumb?.text}</a>
7068
{index < breadcrumbs.length - 1 && <span> &raquo; </span>}
71-
</>
69+
</span>
7270
))}
7371
</div>
7472
)}

0 commit comments

Comments
 (0)