Update app/lib/api.ts
All checks were successful
Deploy to Netlify / Deploy to Netlify (push) Successful in 2m31s
All checks were successful
Deploy to Netlify / Deploy to Netlify (push) Successful in 2m31s
This commit is contained in:
parent
598b7a7f05
commit
57a2a138d4
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ interface CollePayload {
|
||||||
export const useColles = (startDate: DateTime) => {
|
export const useColles = (startDate: DateTime) => {
|
||||||
// Check if the start date is the current week
|
// Check if the start date is the current week
|
||||||
// This is used to determine if the data is "actual" or not
|
// 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
|
const options = isFuture
|
||||||
? {
|
? {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue