Commit 60bc0ec0 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

fix: product count in category button not show

parent 3c4db1d5
......@@ -200,7 +200,7 @@ export default function Home() {
}}
>
{cat.name}
{cat.id === category ? `(${productsFilter.length})` : ""}
{cat.name === category ? `(${productsFilter.length})` : ""}
</Button>
))}
</Box>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment