fix: 💩 replace nested span with div and span

This commit is contained in:
Julien Oculi 2024-02-15 13:09:44 +01:00
parent 3f1cb2a9af
commit c57f46500a

View file

@ -17,9 +17,9 @@ export function ProjectCard(
<img src={icon} class='components__project_card__icon' /> <img src={icon} class='components__project_card__icon' />
<div class='components__project_card__content'> <div class='components__project_card__content'>
<h3>{title}</h3> <h3>{title}</h3>
<span class='components__project_card__state'> <div class='components__project_card__state'>
{toStateSpan(state)} {toStateSpan(state)}
</span> </div>
<div class='components__project_card__tags'> <div class='components__project_card__tags'>
{tags.map((tag) => <span>{tag}</span>)} {tags.map((tag) => <span>{tag}</span>)}
</div> </div>