removed line spaces

This commit is contained in:
DESKTOP-QHP1O2H\MIKE
2023-02-04 19:19:07 -05:00
parent 54bcbee344
commit 60f9c1abc5
@@ -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 (
<div
className={`update-table w-full p-8 bg-white dark:bg-dark-white overflow-hidden rounded-2xl section-shadow min-h-[520px] ${