Skip to content

Commit

Permalink
fix(header) re-added span tags removed in pull request #74
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Mar 2, 2022
1 parent 0c870c2 commit 00702d7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/ui/Header/HeaderMenuPopUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ function HeaderMenuPopUp({ menuItems }) {
{item.title}
</label>
)}
<a href={item['@id'] || item.url}>{item.title}</a>
<a href={item['@id'] || item.url}>
<span>{item.title}</span>
</a>
{item.items.length > 0 && (
<input
type="checkbox"
Expand All @@ -45,11 +47,11 @@ function HeaderMenuPopUp({ menuItems }) {
}`}
className="toggle"
>
{section.title}
<span>{section.title}</span>
</label>
)}
<a href={section['@id'] || section.url}>
{section.title}
<span>{section.title}</span>
</a>
{section.items.length > 0 && (
<input
Expand All @@ -65,7 +67,7 @@ function HeaderMenuPopUp({ menuItems }) {
{section.items.map((page) => (
<li key={page['@id'] || page.url}>
<a href={page['@id'] || page.url}>
{page.title}
<span>{page.title}</span>
</a>
</li>
))}
Expand Down

0 comments on commit 00702d7

Please sign in to comment.