chore: fix build errors and lint warnings from devices/admin implementation
- Fix setRole type error (cast to admin-accepted role type) - Fix OG image edge runtime → nodejs (Drizzle needs Node.js) - Fix eslint set-state-in-effect warnings - Fix img → next/image in admin users client - Remove unused eslint-disable directives
This commit is contained in:
@@ -3,7 +3,7 @@ import { db } from "@/lib/db/index"
|
||||
import { hardware, performanceEntries, gameVersions, games } from "@/lib/db/schema"
|
||||
import { eq, and, sql } from "drizzle-orm"
|
||||
|
||||
export const runtime = "edge"
|
||||
export const runtime = "nodejs"
|
||||
export const alt = "Device benchmarks on DeckyVault"
|
||||
export const size = { width: 1200, height: 630 }
|
||||
export const contentType = "image/png"
|
||||
|
||||
Reference in New Issue
Block a user