1
0
Fork 0

fix(org): Namespaces in account page

This commit is contained in:
joostdecock 2023-04-16 19:17:49 +02:00
parent 4edd657ebf
commit 0b5b66dba8

View file

@ -4,11 +4,11 @@ import { useApp } from 'shared/hooks/use-app.mjs'
import dynamic from 'next/dynamic' import dynamic from 'next/dynamic'
import { serverSideTranslations } from 'next-i18next/serverSideTranslations' import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
// Components // Components
import { PageWrapper } from 'shared/components/wrappers/page.mjs' import { PageWrapper, ns as pageNs } from 'shared/components/wrappers/page.mjs'
import { ns as authNs } from 'shared/components/wrappers/auth/index.mjs' import { ns as authNs } from 'shared/components/wrappers/auth/index.mjs'
// Translation namespaces used on this page // Translation namespaces used on this page
const ns = ['account', ...authNs] const ns = [...new Set(['account', ...pageNs, ...authNs])]
/* /*
* Some things should never generated as SSR * Some things should never generated as SSR