Fixed path alias.

This commit is contained in:
Mike Cao 2023-08-21 19:32:17 -07:00
parent 800731f3aa
commit 51014f6ce6
5 changed files with 8 additions and 5 deletions

View file

@ -1,7 +1,7 @@
import { useState, useEffect } from 'react';
import { useRouter } from 'next/router';
import { httpGet } from 'next-basics';
import enUS from '../../../public/intl/country/en-US.json';
import enUS from 'public/intl/country/en-US.json';
const countryNames = {
'en-US': enUS,

View file

@ -1,7 +1,7 @@
import { useState, useEffect } from 'react';
import { useRouter } from 'next/router';
import { httpGet } from 'next-basics';
import enUS from '../../../public/intl/country/en-US.json';
import enUS from 'public/intl/country/en-US.json';
const languageNames = {
'en-US': enUS,

View file

@ -5,7 +5,7 @@ import { LOCALE_CONFIG } from 'lib/constants';
import { getDateLocale, getTextDirection } from 'lib/lang';
import useStore, { setLocale } from 'store/app';
import useForceUpdate from 'components/hooks/useForceUpdate';
import enUS from '../../../public/intl/country/en-US.json';
import enUS from 'public/intl/country/en-US.json';
const messages = {
'en-US': enUS,