Update index.tsx
This commit is contained in:
parent
34bd98856a
commit
f62a4a5637
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue