From 2ebddcd6cf0642736958a3111a60e376e0fb7ac1 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Tue, 31 Jan 2023 19:17:58 -0800 Subject: [PATCH] Remove roadmap translations --- pages/[username].tsx | 4 ++-- pages/new/index.tsx | 4 ++-- pages/p/[party].tsx | 4 ++-- pages/saved.tsx | 4 ++-- pages/teams.tsx | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pages/[username].tsx b/pages/[username].tsx index cf60511a..fbe090e9 100644 --- a/pages/[username].tsx +++ b/pages/[username].tsx @@ -384,7 +384,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex context: context, version: version, error: false, - ...(await serverSideTranslations(locale, ['common', 'roadmap'])), + ...(await serverSideTranslations(locale, ['common'])), }, } } catch (error) { @@ -401,7 +401,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex code: response?.status, text: response?.statusText, }, - ...(await serverSideTranslations(locale, ['common', 'roadmap'])), + ...(await serverSideTranslations(locale, ['common'])), }, } } diff --git a/pages/new/index.tsx b/pages/new/index.tsx index 5f3bd215..2187cf68 100644 --- a/pages/new/index.tsx +++ b/pages/new/index.tsx @@ -177,7 +177,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex context: context, version: version, error: false, - ...(await serverSideTranslations(locale, ['common', 'roadmap'])), + ...(await serverSideTranslations(locale, ['common'])), }, } } catch (error) { @@ -194,7 +194,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex code: response?.status, text: response?.statusText, }, - ...(await serverSideTranslations(locale, ['common', 'roadmap'])), + ...(await serverSideTranslations(locale, ['common'])), }, } } diff --git a/pages/p/[party].tsx b/pages/p/[party].tsx index 1b22b046..7b98fd1a 100644 --- a/pages/p/[party].tsx +++ b/pages/p/[party].tsx @@ -162,7 +162,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex context: context, version: version, error: false, - ...(await serverSideTranslations(locale, ['common', 'roadmap'])), + ...(await serverSideTranslations(locale, ['common'])), }, } } catch (error) { @@ -180,7 +180,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex code: response?.status, text: response?.statusText, }, - ...(await serverSideTranslations(locale, ['common', 'roadmap'])), + ...(await serverSideTranslations(locale, ['common'])), }, } } diff --git a/pages/saved.tsx b/pages/saved.tsx index db375c10..d620a522 100644 --- a/pages/saved.tsx +++ b/pages/saved.tsx @@ -407,7 +407,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex context: context, version: version, error: false, - ...(await serverSideTranslations(locale, ['common', 'roadmap'])), + ...(await serverSideTranslations(locale, ['common'])), }, } } catch (error) { @@ -424,7 +424,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex code: response?.status, text: response?.statusText, }, - ...(await serverSideTranslations(locale, ['common', 'roadmap'])), + ...(await serverSideTranslations(locale, ['common'])), }, } } diff --git a/pages/teams.tsx b/pages/teams.tsx index 6b875587..3df2ad26 100644 --- a/pages/teams.tsx +++ b/pages/teams.tsx @@ -407,7 +407,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex context: context, version: version, error: false, - ...(await serverSideTranslations(locale, ['common', 'roadmap'])), + ...(await serverSideTranslations(locale, ['common'])), }, } } catch (error) { @@ -424,7 +424,7 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex code: response?.status, text: response?.statusText, }, - ...(await serverSideTranslations(locale, ['common', 'roadmap'])), + ...(await serverSideTranslations(locale, ['common'])), }, } }