This commit is contained in:
Moe Poi ~ 2022-04-27 13:19:22 +07:00
parent da0e532ec0
commit 0e7449a981

View file

@ -32,7 +32,7 @@ class _CartState extends State<Cart> {
return FutureBuilder<dynamic>(
future: getProduct(data[index]["product_id"]),
builder: (context, snapshotx) {
if (snapshot.hasData) {
if (snapshotx.hasData) {
var productData = snapshotx.data;
if (productData != null) {
return CartBox(