import Page from 'site/components/wrappers/page.js' import useApp from 'site/hooks/useApp.js' import { serverSideTranslations } from 'next-i18next/serverSideTranslations' import { useTranslation } from 'next-i18next' import Layout from 'site/components/layouts/bare' import AuthWrapper, { namespaces as authNs } from 'site/components/wrappers/auth/index.js' import UsernameSettings, { namespaces as usernameNs, } from 'site/components/account/username/index.js' // Translation namespaces used on this page const namespaces = [...usernameNs, ...authNs] const UsernamePage = (props) => { const app = useApp(props) const { t } = useTranslation(namespaces) return (
) } export default UsernamePage export async function getStaticProps({ locale }) { return { props: { ...(await serverSideTranslations(locale)), }, } }