From 95e20a7603848c0915fefe587562e528c16bddc2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 09:45:20 -0300 Subject: [PATCH] chore(deps): bump @ircsignpost/signpost-base from 16.35.0 to 16.42.0 (#47) Bumps [@ircsignpost/signpost-base](https://github.com/unitedforukraine/signpost-base) from 16.35.0 to 16.42.0. - [Commits](https://github.com/unitedforukraine/signpost-base/commits) --- updated-dependencies: - dependency-name: "@ircsignpost/signpost-base" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- pages/services/[service].tsx | 4 ++++ yarn.lock | 8 ++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 1dcbca6d..9e18e5cb 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@algolia/autocomplete-js": "^1.7.1", "@algolia/client-search": "^4.14.2", "@directus/sdk": "^10.3.3", - "@ircsignpost/signpost-base": "16.35.0", + "@ircsignpost/signpost-base": "16.42.0", "@mapbox/mapbox-gl-geocoder": "^5.0.2", "@next/env": "^12.2.4", "@react-spring/web": "^9.5.4", diff --git a/pages/services/[service].tsx b/pages/services/[service].tsx index c3f82c64..59709eb1 100644 --- a/pages/services/[service].tsx +++ b/pages/services/[service].tsx @@ -78,6 +78,7 @@ interface ServiceProps { menuOverlayItems: MenuOverlayItem[]; footerLinks?: MenuOverlayItem[]; service: DirectusArticle; + currentLocale: Locale; } export default function Service({ @@ -93,6 +94,7 @@ export default function Service({ menuOverlayItems, footerLinks, service, + currentLocale, }: ServiceProps) { const router = useRouter(); const { publicRuntimeConfig } = getConfig(); @@ -149,6 +151,7 @@ export default function Service({ }, disableShareButton: true, strings: strings.serviceContentStrings, + currentLocale, }} /> @@ -380,6 +383,7 @@ export const getStaticProps: GetStaticProps = async ({ menuOverlayItems, footerLinks, service, + currentLocale, }, revalidate: REVALIDATION_TIMEOUT_SECONDS, }; diff --git a/yarn.lock b/yarn.lock index 54e1ab87..ea8308a0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1751,10 +1751,10 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== -"@ircsignpost/signpost-base@16.35.0": - version "16.35.0" - resolved "https://registry.yarnpkg.com/@ircsignpost/signpost-base/-/signpost-base-16.35.0.tgz#b42e1c1904b95ab68d33e80bfe7eeb6bda450fd0" - integrity sha512-OxnP1UZt1GlT9/KjD1VOQfdN+ba4D8w21h7hqT+AMWC9Weg6v2IOnO7Gi1/G5gJ52kSM+zcFieGpfgdXqJebFg== +"@ircsignpost/signpost-base@16.42.0": + version "16.42.0" + resolved "https://registry.yarnpkg.com/@ircsignpost/signpost-base/-/signpost-base-16.42.0.tgz#ae3142597a0766afa42ba0075d056fecd9df9cf8" + integrity sha512-aBRQ8Rfw78HlsxpEuTY9JyYFUYn4mYe+24qQlMBMmgtf4AM8kIH9CBAwbF4joHdKxJynS1Plqz6zNM/IT8NXfQ== "@jridgewell/gen-mapping@^0.1.0": version "0.1.1"