import { listSongs } from "./actions"; import SearchForm from "./search-form"; export default async function Page() { const songs = await listSongs(); return (

已收藏

    {songs.map((song, i) => (
  • {song.name} - {song.artist}
  • ))}

搜索

); }