--- import { authPB } from "src/utils/pocketbase"; // export const prerender = false const pb = await authPB() const photos = await pb.collection('photos').getFullList({ sort: '-created', filter: 'published=true' }) const photoLinks = await Promise.all( photos.map(p => pb.files.getURL(p, p.image, { thumb: '0x1800' })) ) ---
{photos.map((photo, i) => (
{photo.title
))}