diff --git a/.yarn/cache/@next-swc-darwin-arm64-npm-14.1.3-f38233cf16-8.zip b/.yarn/cache/@next-swc-darwin-arm64-npm-14.1.3-f38233cf16-8.zip deleted file mode 100644 index c96f3c504..000000000 Binary files a/.yarn/cache/@next-swc-darwin-arm64-npm-14.1.3-f38233cf16-8.zip and /dev/null differ diff --git a/.yarn/cache/@next-swc-linux-arm64-gnu-npm-14.1.3-beeb9e3078-8.zip b/.yarn/cache/@next-swc-linux-arm64-gnu-npm-14.1.3-beeb9e3078-8.zip deleted file mode 100644 index f372f45df..000000000 Binary files a/.yarn/cache/@next-swc-linux-arm64-gnu-npm-14.1.3-beeb9e3078-8.zip and /dev/null differ diff --git a/.yarn/cache/@next-swc-linux-arm64-musl-npm-14.1.3-4ba36b8d36-8.zip b/.yarn/cache/@next-swc-linux-arm64-musl-npm-13.5.6-b77ca7b049-8.zip similarity index 76% rename from .yarn/cache/@next-swc-linux-arm64-musl-npm-14.1.3-4ba36b8d36-8.zip rename to .yarn/cache/@next-swc-linux-arm64-musl-npm-13.5.6-b77ca7b049-8.zip index 45e27ad77..e3bf9016e 100644 Binary files a/.yarn/cache/@next-swc-linux-arm64-musl-npm-14.1.3-4ba36b8d36-8.zip and b/.yarn/cache/@next-swc-linux-arm64-musl-npm-13.5.6-b77ca7b049-8.zip differ diff --git a/.yarn/cache/@next-swc-linux-x64-musl-npm-14.1.3-37ca80179d-8.zip b/.yarn/cache/@next-swc-linux-x64-musl-npm-13.5.6-b283330cf9-8.zip similarity index 77% rename from .yarn/cache/@next-swc-linux-x64-musl-npm-14.1.3-37ca80179d-8.zip rename to .yarn/cache/@next-swc-linux-x64-musl-npm-13.5.6-b283330cf9-8.zip index 9993c10db..1597f2be3 100644 Binary files a/.yarn/cache/@next-swc-linux-x64-musl-npm-14.1.3-37ca80179d-8.zip and b/.yarn/cache/@next-swc-linux-x64-musl-npm-13.5.6-b283330cf9-8.zip differ diff --git a/next.config.js b/next.config.js index 313474a9d..f73ebc1a6 100644 --- a/next.config.js +++ b/next.config.js @@ -12,10 +12,13 @@ const nextConfig = { reactStrictMode: true, swcMinify: true, trailingSlash: true, - staticPageGenerationTimeout: 180, //arbitrary; 60 is default but it's too small assetPrefix: isProd ? 'https://s3.us-gov-west-1.amazonaws.com/next-content.www.va.gov/' : undefined, + staticPageGenerationTimeout: 180, //arbitrary; 60 is default but it's too small + experimental: { + largePageDataBytes: 550, // 128kb by default + }, } module.exports = nextConfig diff --git a/src/data/queries/contactInfo.ts b/src/data/queries/contactInfo.ts index 143a7f3a8..22261be82 100644 --- a/src/data/queries/contactInfo.ts +++ b/src/data/queries/contactInfo.ts @@ -52,6 +52,6 @@ export const formatter: QueryFormatter< entity.field_benefit_hub_contacts?.field_support_services.map( (supportService) => queries.formatData(RESOURCE_TYPES.SUPPORT_SERVICES, supportService) - ), + ) || null, } } diff --git a/src/data/queries/tests/__snapshots__/contactInfo.test.tsx.snap b/src/data/queries/tests/__snapshots__/contactInfo.test.tsx.snap index 680d2f63b..7051de88f 100644 --- a/src/data/queries/tests/__snapshots__/contactInfo.test.tsx.snap +++ b/src/data/queries/tests/__snapshots__/contactInfo.test.tsx.snap @@ -9,7 +9,7 @@ exports[`ContactInfo formatData outputs formatted data 1`] = ` "label": "Loremipsum label here", "type": "paragraph--email_contact", }, - "benefitHubContacts": undefined, + "benefitHubContacts": null, "contactType": "DC", "defaultContact": { "href": "tel:1-800-698-2411", diff --git a/src/templates/layouts/event/index.test.tsx b/src/templates/layouts/event/index.test.tsx index 486a3233a..de197a20b 100644 --- a/src/templates/layouts/event/index.test.tsx +++ b/src/templates/layouts/event/index.test.tsx @@ -72,7 +72,7 @@ describe(' Component', () => { title: '', width: 0, height: 0, - links: {}, + links: { '2_1_large': { href: '/foo' } }, }} date={''} facilityLocation={undefined}