From 0e7449a9819cd4d31001c44fb2999f78e7e7a892 Mon Sep 17 00:00:00 2001 From: Moe <moe@chocola.dev> Date: Wed, 27 Apr 2022 13:19:22 +0700 Subject: [PATCH] Fix typo --- lib/screens/cart.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/screens/cart.dart b/lib/screens/cart.dart index 55c749d..cdc44dc 100644 --- a/lib/screens/cart.dart +++ b/lib/screens/cart.dart @@ -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(