Skip to content

Commit b84940a

Browse files
committed
Fix missing mockAPI import in CartContent component
- Add missing import for mockAPI from utils/mockData - Resolves ESLint error: 'mockAPI' is not defined no-undef - Fix production build failure on GitHub Actions - All components now build successfully
1 parent 2dc8565 commit b84940a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

frontend/src/components/CartContent/CartContent.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ import { useNavigate } from "react-router-dom";
5555
import { toast } from "react-toastify";
5656
import config from "../../config/config";
5757
import DemoFallback from "../DemoFallback/DemoFallback";
58+
import { mockAPI } from "../../utils/mockData";
5859

5960
const CartContent = () => {
6061
const { items, totalAmount, removeFromCart, addToCart } =

0 commit comments

Comments
 (0)