Update index.tsx

This commit is contained in:
Justin Edmund 2022-03-04 18:46:44 -08:00
parent 34bd98856a
commit f62a4a5637

View file

@ -17,11 +17,10 @@ import CrossIcon from '~public/icons/Cross.svg'
import './index.scss' import './index.scss'
const AccountModal = () => { const AccountModal = () => {
const { t } = useTranslation('common')
const { account } = useSnapshot(accountState) const { account } = useSnapshot(accountState)
const router = useRouter() const router = useRouter()
const { t } = useTranslation('common')
const locale = (router.locale && ['en', 'ja'].includes(router.locale)) ? router.locale : 'en' const locale = (router.locale && ['en', 'ja'].includes(router.locale)) ? router.locale : 'en'
// Cookies // Cookies