Commit b8bb5f4c authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

update product display in admin

parent 95bc0080
......@@ -57,6 +57,7 @@ export default function Stock() {
เพิ่มสินค้า
</Button>
</Box>
<div className="mx-auto text-left grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-3 2xl:grid-cols-4 max-w-[1520px]">
{productsFilter.map((product, idx) => (
<Card
key={idx}
......@@ -116,6 +117,7 @@ export default function Stock() {
</CardActions>
</Card>
))}
</div>
<AddProduct open={modal} handleClose={() => setModal(false)} />
</Box>
{updateState.open && (
......
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