import { getLists } from '@/lib/actions' import ListCard from '@/components/ListCard' import NewListButton from '@/components/NewListButton' import GlobalSearch from '@/components/GlobalSearch' import EmptyState from '@/components/EmptyState' export const dynamic = 'force-dynamic' export default async function Home() { const lists = await getLists() return (

Ultimate Lists

{/* Global Search */}
{lists.length === 0 ? ( } /> ) : (
{lists.map((list) => ( ))}
)}
) }