{renderBreakLineText(organization.fields?.address)}
\n ),\n editAttributes: createEditAttributes({\n entry: organization,\n fieldId: \"address\",\n }),\n });\n }\n // email and phone\n if (organization.fields?.email || organization.fields?.phone) {\n blockItems.push({\n children: (\n\n {organization.fields?.email && (\n \n {organization.fields?.email}\n \n )}\n {organization.fields?.phone && (\n <>\n {organization.fields?.email &&
}\n \n {organization.fields?.phone}\n \n >\n )}\n {organization.fields?.fax && (\n <>\n {(organization.fields?.email || organization.fields?.phone) && (\n
\n )}\n \n {`${organization.fields?.fax} (fax)`}\n \n >\n )}\n
{renderBreakLineText(organization.fields?.hours)}
,\n editAttributes: createEditAttributes({\n entry: organization,\n fieldId: \"hours\",\n }),\n });\n }\n props.footerBlocks?.push({\n title: organization.fields?.title,\n editAttributes: {\n title: createEditAttributes({ entry: organization, fieldId: \"title\" }),\n },\n items: blockItems,\n });\n }\n\n // links go second\n if (entry.fields.links) {\n props.footerBlocks?.push({\n items: entry.fields.links.map((link, i) => ({\n children: ,\n editAttributes: createEditAttributes({ entry: link, fieldId: \"title\" }),\n })),\n });\n }\n\n // socials go last\n if (entry.fields.organization) {\n props.footerBlocks?.push({\n items: [\n {\n children: (\n\n {title}\n
\n )}\n\n {items?.map(({ editAttributes, children }, i) => (\n