From dead2e1200f54b9a19209ea7ea279cc7bfa75dee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Mon, 19 Feb 2024 10:19:11 +0100 Subject: [PATCH] adding location set to available in every month --- app/ui/MonthLocationList.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/ui/MonthLocationList.tsx b/app/ui/MonthLocationList.tsx index e3bafa2..6a59ad6 100644 --- a/app/ui/MonthLocationList.tsx +++ b/app/ui/MonthLocationList.tsx @@ -81,12 +81,7 @@ export const MonthLocationList:React.FC = ({ locations.map((location, ix) => ) : null } - { - yearMonth.month === expandedMonth ? - // show AddLocationButton as a last item in the first month - (monthIx === 0 ? : null) - : null - } + ) }