Remove debug timeout from /admin/photos

This commit is contained in:
Sam Becker 2025-01-19 12:42:57 -06:00
parent 19a7c59c9a
commit 2b75958f3e

View File

@ -6,7 +6,6 @@ import AdminPhotosClient from '@/admin/AdminPhotosClient';
import { revalidatePath } from 'next/cache';
import { cookies } from 'next/headers';
import { TIMEZONE_COOKIE_NAME } from '@/utility/timezone';
import sleep from '@/utility/sleep';
export const maxDuration = 60;
@ -16,8 +15,6 @@ const INFINITE_SCROLL_INITIAL_ADMIN_PHOTOS = 25;
const INFINITE_SCROLL_MULTIPLE_ADMIN_PHOTOS = 50;
export default async function AdminPhotosPage() {
await sleep(3000);
const timezone = (await cookies()).get(TIMEZONE_COOKIE_NAME)?.value;
const [