diff --git a/next/lib/strapi/fetchContentType.ts b/next/lib/strapi/fetchContentType.ts index 64ec2ca..c4ac186 100644 --- a/next/lib/strapi/fetchContentType.ts +++ b/next/lib/strapi/fetchContentType.ts @@ -44,11 +44,6 @@ export default async function fetchContentType( throw new Error(`Failed to fetch data from Strapi (url=${url.toString()}, status=${response.status})`); } const jsonData: StrapiResponse = await response.json(); - - if (jsonData.data.length === 0) { - - } - return spreadData ? spreadStrapiData(jsonData) : jsonData; } catch (error) { // Log any errors that occur during the fetch process