diff --git a/pages/404.tsx b/pages/404.tsx
index 18d0fa6f..e1f9ca4c 100644
--- a/pages/404.tsx
+++ b/pages/404.tsx
@@ -5,7 +5,11 @@ import { RektIcon } from '@components/icons/RektIcon'
export async function getStaticProps({ locale }: { locale: string }) {
return {
props: {
- ...(await serverSideTranslations(locale, ['common', 'delegate'])),
+ ...(await serverSideTranslations(locale, [
+ 'common',
+ 'profile',
+ 'settings',
+ ])),
// Will be passed to the page component as props
},
}
@@ -18,7 +22,6 @@ export default function Custom404() {
className="mx-auto flex max-w-xl flex-col items-center justify-center text-center"
style={{ height: 'calc(100vh - 80px)' }}
>
- {/* 404 */}
404: {t('404-heading')}
diff --git a/pages/dashboard/index.tsx b/pages/dashboard/index.tsx
index 25c450cf..f174aaa5 100644
--- a/pages/dashboard/index.tsx
+++ b/pages/dashboard/index.tsx
@@ -18,7 +18,7 @@ import MarketLogos from '@components/trade/MarketLogos'
export async function getStaticProps({ locale }: { locale: string }) {
return {
props: {
- ...(await serverSideTranslations(locale, ['common'])),
+ ...(await serverSideTranslations(locale, ['common, profile, settings'])),
},
}
}
diff --git a/pages/index.tsx b/pages/index.tsx
index 01a9833a..c1871627 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -10,6 +10,7 @@ export async function getStaticProps({ locale }: { locale: string }) {
'onboarding',
'onboarding-tours',
'profile',
+ 'settings',
'swap',
'trade',
'activity',
diff --git a/pages/stats.tsx b/pages/stats.tsx
index da202b32..de1a29f8 100644
--- a/pages/stats.tsx
+++ b/pages/stats.tsx
@@ -9,6 +9,7 @@ export async function getStaticProps({ locale }: { locale: string }) {
'common',
'onboarding',
'profile',
+ 'settings',
'token',
'trade',
])),
diff --git a/pages/swap.tsx b/pages/swap.tsx
index 5f3e2d45..ce461e5b 100644
--- a/pages/swap.tsx
+++ b/pages/swap.tsx
@@ -10,6 +10,7 @@ export async function getStaticProps({ locale }: { locale: string }) {
'onboarding',
'onboarding-tours',
'profile',
+ 'settings',
'swap',
'settings',
'trade',
diff --git a/pages/token/[token].tsx b/pages/token/[token].tsx
index 0bc7eda1..255f5125 100644
--- a/pages/token/[token].tsx
+++ b/pages/token/[token].tsx
@@ -6,7 +6,12 @@ import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
export async function getStaticProps({ locale }: { locale: string }) {
return {
props: {
- ...(await serverSideTranslations(locale, ['common', 'profile', 'token'])),
+ ...(await serverSideTranslations(locale, [
+ 'common',
+ 'profile',
+ 'settings',
+ 'token',
+ ])),
},
}
}
diff --git a/pages/trade.tsx b/pages/trade.tsx
index 6619ae8d..6082bdc5 100644
--- a/pages/trade.tsx
+++ b/pages/trade.tsx
@@ -20,6 +20,7 @@ export async function getStaticProps({ locale }: { locale: string }) {
'onboarding',
'onboarding-tours',
'profile',
+ 'settings',
'trade',
])),
},