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(