From e9b9f447bdee310d126d20ae19a8d31ed3903b0b Mon Sep 17 00:00:00 2001 From: Bram Adams <3282661+bramses@users.noreply.github.com> Date: Thu, 29 Aug 2024 00:58:51 -0400 Subject: [PATCH] feat: Add date selection to GardenDaily component --- src/app/[locale]/(auth)/dashboard/garden/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/[locale]/(auth)/dashboard/garden/page.tsx b/src/app/[locale]/(auth)/dashboard/garden/page.tsx index f5ae398..18c0c36 100644 --- a/src/app/[locale]/(auth)/dashboard/garden/page.tsx +++ b/src/app/[locale]/(auth)/dashboard/garden/page.tsx @@ -139,6 +139,7 @@ const GardenDaily = () => { ); setLoading(false); + setDateSelected(date); setEntries(aliasData); }, [fetchByID, setSelectedDay, setLoading, setEntries],