import Link from 'next/link' import supabase from '../../utils/supabase' // do not cache this page export const revalidate = 0 export default async function Posts() { const { data: posts } = await supabase.from('posts').select('id, title') if (!posts) { return

No posts found.

} return posts.map((post) => (

{post.title}

)) }