From d549de3747c01b30a52e5f2bf7d1fd04f2770d70 Mon Sep 17 00:00:00 2001 From: Tim Ittermann Date: Fri, 2 Aug 2024 16:40:45 +0200 Subject: [PATCH] feat: Update MealEntryComponent to use form element for better accessibility and maintainability --- src/components/mealPlan/MealEntry.tsx | 52 +++++++++++++-------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/src/components/mealPlan/MealEntry.tsx b/src/components/mealPlan/MealEntry.tsx index ef2bc82..7668a58 100644 --- a/src/components/mealPlan/MealEntry.tsx +++ b/src/components/mealPlan/MealEntry.tsx @@ -48,7 +48,9 @@ export const MealEntryComponent: React.FC = ({ }; return ( -
= ({ "text-neutral-400": !isCurrentMonth, })} > -
- - + + -
-
- {dateTime.weekdayShort} {dateTime.day} -
-
- {isToday && } -
+
+
+ {dateTime.weekdayShort} {dateTime.day}
+
+ {isToday && } +
+
-