From 60f9c1abc594f6ae0b947e720a9824bb0d008c48 Mon Sep 17 00:00:00 2001 From: "DESKTOP-QHP1O2H\\MIKE" Date: Sat, 4 Feb 2023 19:19:07 -0500 Subject: [PATCH] removed line spaces --- src/components/Reminders/ReminderTable.jsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/Reminders/ReminderTable.jsx b/src/components/Reminders/ReminderTable.jsx index 573013b..76d4126 100755 --- a/src/components/Reminders/ReminderTable.jsx +++ b/src/components/Reminders/ReminderTable.jsx @@ -4,12 +4,10 @@ import dataImage1 from "../../assets/images/data-table-user-1.png"; import usersService from "../../services/UsersService"; import SelectBox from "../Helpers/SelectBox"; - export default function ReminderTable({ className }) { const [userReminders, setUserReminders] = useState([]); const [selectedCategory, setCategory] = useState(filterCategories[0]) - useEffect(() => { getUserReminders(); }, []); @@ -17,10 +15,8 @@ export default function ReminderTable({ className }) { const getUserReminders = async () => { try { const res = await api.getUserReminders(); - setUserReminders(res.data.reminders); console.log("res", res); - } catch (error) { console.log("Error from User Reminders", error); } @@ -38,12 +34,10 @@ export default function ReminderTable({ className }) { newValue = "MEDC" } setCategory(newValue); - } // const filterCategories = ["All Categories", "Doctors Visit", "Medications"]; const filterCategories = ["All category", "Exercise/GYM", "Appointment", "Medication"]; - return (