chore: fix compilation

This commit is contained in:
Thomas Camlong
2025-11-17 10:21:49 +01:00
parent ebc5541605
commit 01629843bd
7 changed files with 14 additions and 14 deletions

View File

@@ -3,6 +3,7 @@ import { ImageResponse } from "next/og"
import { getCommunityGalleryRecord, getCommunitySubmissionByName, getCommunitySubmissions } from "@/lib/community"
export const revalidate = 21600 // 6 hours
export const runtime = 'edge';
export async function generateStaticParams() {
const icons = await getCommunitySubmissions()

View File

@@ -3,7 +3,7 @@ import { join } from "node:path"
import { ImageResponse } from "next/og"
import { getAllIcons } from "@/lib/api"
export const dynamic = "force-static"
export const runtime = 'edge';
export const revalidate = false
export async function generateStaticParams() {

View File

@@ -60,12 +60,9 @@ function Calendar({
...classNames,
}}
components={{
IconLeft: ({ className, ...props }) => (
Chevron: ({ className, ...props }) => (
<ChevronLeft className={cn("size-4", className)} {...props} />
),
IconRight: ({ className, ...props }) => (
<ChevronRight className={cn("size-4", className)} {...props} />
),
}}
{...props}
/>

View File

@@ -10,3 +10,4 @@ export class ApiError extends Error {
this.status = status
}
}