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() { ...@@ -57,6 +57,7 @@ export default function Stock() {
เพิ่มสินค้า เพิ่มสินค้า
</Button> </Button>
</Box> </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) => ( {productsFilter.map((product, idx) => (
<Card <Card
key={idx} key={idx}
...@@ -116,6 +117,7 @@ export default function Stock() { ...@@ -116,6 +117,7 @@ export default function Stock() {
</CardActions> </CardActions>
</Card> </Card>
))} ))}
</div>
<AddProduct open={modal} handleClose={() => setModal(false)} /> <AddProduct open={modal} handleClose={() => setModal(false)} />
</Box> </Box>
{updateState.open && ( {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