import { getGenres } from "app/lib/get" import React from "react" import { letterCase } from "app/lib/functions" export default async function GenreCheckboxes() { const genres = await getGenres() const genreCheckboxes = genres.map(e => { const label = letterCase(e.name) return ( ) }) return <>{genreCheckboxes} }