Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
promiseonuoha committed Oct 8, 2024
1 parent 628e3ae commit fcfd9ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/(guest)/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default async function Page() {
<DownloadApp />
<Products />
<Reviews />
<Blogs blogs={blogs} />
{blogs && blogs[0] && <Blogs blogs={blogs} />}
<ContactUs />
<NewsLetter />
</>
Expand All @@ -66,7 +66,6 @@ const getBlogs = async () => {
},
)

// Check if the response content type is JSON
const contentType = res.headers.get('Content-Type') || ''
if (!contentType.includes('application/json')) {
throw new Error('Invalid response type')
Expand Down

0 comments on commit fcfd9ac

Please sign in to comment.