Refactor colors and palettes
This commit is contained in:
@ -4,7 +4,12 @@ import { PlusCircleIcon } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
|
||||
export default async function GalleriesPage() {
|
||||
const galleries = await prisma.gallery.findMany({ orderBy: { createdAt: "asc" } });
|
||||
const galleries = await prisma.gallery.findMany({
|
||||
orderBy: { createdAt: "asc" },
|
||||
include: {
|
||||
albums: { select: { id: true } }
|
||||
}
|
||||
});
|
||||
|
||||
return (
|
||||
<div>
|
||||
|
Reference in New Issue
Block a user