diff --git a/src/components/Footer/ContactData/contactData.js b/src/components/Footer/ContactData/contactData.js index 6cacfc02..2b78cd4e 100644 --- a/src/components/Footer/ContactData/contactData.js +++ b/src/components/Footer/ContactData/contactData.js @@ -19,7 +19,7 @@ export default function ContactData() { return ( <>
-
{dataFooter.contact.title}
+
{dataFooter?.contact?.title}

{contact}

diff --git a/src/components/Footer/Navegation/navegation.js b/src/components/Footer/Navegation/navegation.js index c56d5271..95e53717 100644 --- a/src/components/Footer/Navegation/navegation.js +++ b/src/components/Footer/Navegation/navegation.js @@ -9,7 +9,7 @@ export default function Navegation() { const navegationItems = dataFooter?.navegation?.pageLink; - const navegationParts = navegationItems.map((section) => + const navegationParts = navegationItems?.map((section) =>
  • {section.name}
  • diff --git a/src/schema/caseSchema.js b/src/schema/caseSchema.js index 5e131031..12e52f93 100644 --- a/src/schema/caseSchema.js +++ b/src/schema/caseSchema.js @@ -29,6 +29,7 @@ type StrapiCase implements Node { quote: StrapiCaseQuote image: LocalFile strapiId: Int + subtitle: String } type StrapiCaseButton {