From 57a2a138d466ee252359940bd01c3ac9d7627139 Mon Sep 17 00:00:00 2001 From: Nathan Date: Fri, 12 Sep 2025 20:56:19 +0200 Subject: [PATCH] Update app/lib/api.ts --- app/lib/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/api.ts b/app/lib/api.ts index 134fd8b..36f8c19 100644 --- a/app/lib/api.ts +++ b/app/lib/api.ts @@ -195,7 +195,7 @@ interface CollePayload { export const useColles = (startDate: DateTime) => { // Check if the start date is the current week // This is used to determine if the data is "actual" or not - const isFuture = startDate.isAfter(DateTime.now()); + const isFuture = startDate > DateTime.now(); const options = isFuture ? {