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 ? {