diff --git a/proj3/frontend/src/components/CartTab.jsx b/proj3/frontend/src/components/CartTab.jsx index f6333805..4e9d3422 100644 --- a/proj3/frontend/src/components/CartTab.jsx +++ b/proj3/frontend/src/components/CartTab.jsx @@ -1,4 +1,4 @@ -/* eslint-disable no-unused-vars */ + import React from "react"; import { Button } from './ui/button'; import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle } from './ui/alert-dialog'; diff --git a/proj3/frontend/src/components/DisputeForm.jsx b/proj3/frontend/src/components/DisputeForm.jsx index a851ac54..39538aec 100644 --- a/proj3/frontend/src/components/DisputeForm.jsx +++ b/proj3/frontend/src/components/DisputeForm.jsx @@ -1,4 +1,4 @@ -/* eslint-disable no-unused-vars */ + import React, { useState } from 'react'; import { Button } from './ui/button'; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from './ui/dialog'; diff --git a/proj3/frontend/src/components/DisputesTab.jsx b/proj3/frontend/src/components/DisputesTab.jsx index 2f3a6907..f8cf605b 100644 --- a/proj3/frontend/src/components/DisputesTab.jsx +++ b/proj3/frontend/src/components/DisputesTab.jsx @@ -1,4 +1,4 @@ -/* eslint-disable no-unused-vars */ + import React, { useState, useEffect } from 'react'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './ui/card'; import { Badge } from './ui/badge'; diff --git a/proj3/frontend/src/components/MealCard.jsx b/proj3/frontend/src/components/MealCard.jsx index d1cd642e..0810447b 100644 --- a/proj3/frontend/src/components/MealCard.jsx +++ b/proj3/frontend/src/components/MealCard.jsx @@ -1,4 +1,4 @@ -/* eslint-disable no-unused-vars */ + import { useState } from "react"; import { Card, CardHeader, CardTitle, CardDescription, CardContent } from "./ui/card"; import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle } from './ui/alert-dialog'; diff --git a/proj3/frontend/src/components/OrderHistoryTab.jsx b/proj3/frontend/src/components/OrderHistoryTab.jsx index 294ababa..2c2e5300 100644 --- a/proj3/frontend/src/components/OrderHistoryTab.jsx +++ b/proj3/frontend/src/components/OrderHistoryTab.jsx @@ -1,4 +1,4 @@ -/* eslint-disable no-unused-vars */ + import React, { useState, useEffect } from 'react'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './ui/card'; import { Badge } from './ui/badge'; diff --git a/proj3/frontend/src/components/Profile.jsx b/proj3/frontend/src/components/Profile.jsx index 790097ff..3d30bb9f 100644 --- a/proj3/frontend/src/components/Profile.jsx +++ b/proj3/frontend/src/components/Profile.jsx @@ -1,4 +1,4 @@ -/* eslint-disable no-undef */ + import { useState, useEffect } from "react"; import * as Dialog from "@radix-ui/react-dialog"; import { Avatar, AvatarFallback } from "@/components/ui/avatar"; // adjust your import diff --git a/proj3/frontend/src/components/RecommendationsTab.jsx b/proj3/frontend/src/components/RecommendationsTab.jsx index 61e1f462..2d355f83 100644 --- a/proj3/frontend/src/components/RecommendationsTab.jsx +++ b/proj3/frontend/src/components/RecommendationsTab.jsx @@ -1,4 +1,4 @@ -/* eslint-disable no-undef */ + /* eslint-disable no-unused-vars */ import { useEffect, useState } from 'react'; import { getRecommendedMeals, getAllMeals } from '../services/MealService';