We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ed0120 commit ba70e4aCopy full SHA for ba70e4a
2 files changed
client/next-env.d.ts
@@ -1,6 +1,6 @@
1
/// <reference types="next" />
2
/// <reference types="next/image-types/global" />
3
-import "./.next/dev/types/routes.d.ts";
+import "./.next/types/routes.d.ts";
4
5
// NOTE: This file should not be edited
6
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
client/src/app/display/[id]/page.tsx
@@ -75,8 +75,6 @@ export default function DisplayModePage() {
75
}))
76
.sort((a: DisplayBooking, b: DisplayBooking) => a.startTime.getTime() - b.startTime.getTime());
77
78
- const now = new Date();
79
-
80
// Find current booking (now is between start and end)
81
const current = roomBookings.find(
82
(b: DisplayBooking) => isBefore(b.startTime, now) && isAfter(b.endTime, now)
0 commit comments