diff --git a/src/app/(routes)/blog/_components/posts.tsx b/src/app/(routes)/blog/_components/posts.tsx index d24f452..ad6cefe 100644 --- a/src/app/(routes)/blog/_components/posts.tsx +++ b/src/app/(routes)/blog/_components/posts.tsx @@ -48,16 +48,16 @@ export async function Posts({ const searchedSlugs = await retrieveContentfulPublishedSlugs({ query: search, }); - return ( + return searchedSlugs.length === 0 ? ( +

No results.

+ ) : (
Search results - {searchedSlugs.length === 0 ? ( -

No results

- ) : ( - searchedSlugs.map((slug) => ) - )} + {searchedSlugs.map((slug) => ( + + ))}
); }