From aef8ac5f61e04601893a1f34ffe6d55febb83d9c Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Thu, 24 Nov 2022 00:17:05 +0200 Subject: [PATCH] Fix build pages not loading required i18n json --- app/routes/builds.tsx | 2 +- app/routes/u.$identifier/builds/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes/builds.tsx b/app/routes/builds.tsx index e8c046ef9..47689121d 100644 --- a/app/routes/builds.tsx +++ b/app/routes/builds.tsx @@ -14,7 +14,7 @@ export const links: LinksFunction = () => { }; export const handle: SendouRouteHandle = { - i18n: ["weapons", "builds"], + i18n: ["weapons", "builds", "gear"], breadcrumb: ({ t }) => t("pages.builds"), navItemName: "builds", }; diff --git a/app/routes/u.$identifier/builds/index.tsx b/app/routes/u.$identifier/builds/index.tsx index 88810d44b..be54841bc 100644 --- a/app/routes/u.$identifier/builds/index.tsx +++ b/app/routes/u.$identifier/builds/index.tsx @@ -44,7 +44,7 @@ export const action: ActionFunction = async ({ request }) => { }; export const handle: SendouRouteHandle = { - i18n: ["weapons", "builds"], + i18n: ["weapons", "builds", "gear"], }; export const loader = async ({ params, request }: LoaderArgs) => {