Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/thith'
Browse files Browse the repository at this point in the history
  • Loading branch information
Thith-thith committed Aug 7, 2023
2 parents 0b92931 + e55ffc7 commit e9a8d3a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions client/src/pages/products/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -687,13 +687,11 @@ const Products: Component<{}> = () => {

<div class="lg:col-span-3">
<div class="grid md:grid-cols-3 gap-4 mt-4">
<Show when={allProducts()} fallback={<p>Loading...</p>}>
<For each={allProducts()}>
{(CoreProducts) => {
return <Cards product={CoreProducts} />;
}}
</For>
</Show>
<For each={allProducts()}>
{(CoreProducts) => {
return <Cards product={CoreProducts} />;
}}
</For>
</div>
</div>
</div>
Expand Down

0 comments on commit e9a8d3a

Please sign in to comment.