import { Book } from "@/lib/types"; import { fetchBooks } from "@/lib/api"; import { Ad } from "@/lib/types"; export const metadata = { title: 'Null Translation Group', description: 'This is the Something page description.', }; export default async function HomePage() { let books: Book[] = []; try { books = await fetchBooks(); } catch (error) { return ( console.log(error),