feat: implement core platform features including business directory, admin dashboard, authentication, and API infrastructure
Some checks failed
Build and Push App / build (push) Failing after 16m2s
Some checks failed
Build and Push App / build (push) Failing after 16m2s
This commit is contained in:
@@ -3,7 +3,6 @@ import Link from 'next/link';
|
||||
import { Play, FileText, Clock, Mic } from 'lucide-react';
|
||||
import { prisma } from '../../lib/prisma';
|
||||
import { InterviewType } from '@prisma/client';
|
||||
import { MOCK_INTERVIEWS } from '../../lib/mockData';
|
||||
|
||||
export const revalidate = 3600;
|
||||
|
||||
@@ -28,11 +27,8 @@ export default async function AfroLifePage({ searchParams }: Props) {
|
||||
orderBy: { createdAt: 'desc' }
|
||||
});
|
||||
} catch (error) {
|
||||
console.error("Database connection failed on Afro Life page, using mock data.");
|
||||
interviews = MOCK_INTERVIEWS.filter(i => filter === 'ALL' || i.type === filter).map(i => ({
|
||||
...i,
|
||||
createdAt: new Date(i.date),
|
||||
}));
|
||||
console.error("Database connection failed on Afro Life page.");
|
||||
interviews = [];
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user