Skip to content

Commit

Permalink
👌 use proper html tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Taranys committed Dec 7, 2020
1 parent 29f2206 commit f6bac26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/packs/Ardoise/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function Menu() {
<section id="main-menu">
<div id="categories">
{categories.map((categ) => (
<ul key={categ.id}>{categ.name}</ul>
<span key={categ.id}>{categ.name}</span>
))}
</div>
<button type="button" onClick={createCategory} disabled={loading}>+</button>
Expand Down

0 comments on commit f6bac26

Please sign in to comment.