fix: updated from 9.3.3 to 15
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ export default async function EventsPage() {
|
||||
<p className="text-white/20 text-sm mt-2">Check back soon for new racing events</p>
|
||||
</div>
|
||||
) : (
|
||||
events.map((event: any) => {
|
||||
events.map((event: unknown) => {
|
||||
const isOpen = event.event_status === 'OPEN';
|
||||
const isFull = event.registrations_count >= event.max_participants;
|
||||
const deadlinePassed = event.registration_deadline && new Date(event.registration_deadline) < new Date();
|
||||
|
||||
Reference in New Issue
Block a user