Skip to content
Snippets Groups Projects
Commit a69df239 authored by Loïc Correnson's avatar Loïc Correnson
Browse files

[ivette/sandbox] fix icon gallery items

parent 9d14896b
No related branches found
No related tags found
No related merge requests found
......@@ -45,12 +45,8 @@ function Gallery(): JSX.Element {
icons = [];
gallery.set(section, icons);
}
icons.push(
<>
<Code icon={id} label={id} />
<Label>{title}</Label>
</>
);
icons.push(<Code key={'C'+id} icon={id} label={id} />);
icons.push(<Label key={'L'+id} label={title} />);
});
const sections : JSX.Element[] = [];
gallery.forEach((icons, section) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment