Skip to content

Commit

Permalink
feat(content): qwik update Colors.tsx (#223)
Browse files Browse the repository at this point in the history
Remove extra Fragment wrapper
  • Loading branch information
hbendev authored Mar 5, 2024
1 parent 002704c commit 3d0b995
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions content/2-templating/3-loop/qwik/Colors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ import { component$ } from "@builder.io/qwik";
export const Colors = component$(() => {
const colors = ["red", "green", "blue"];
return (
<>
<ul>
{colors.map((color) => (
<li key={color}>{color}</li>
))}
</ul>
</>
<ul>
{colors.map((color) => (
<li key={color}>{color}</li>
))}
</ul>
);
});

0 comments on commit 3d0b995

Please sign in to comment.