first commit
This commit is contained in:
@@ -11,14 +11,11 @@ const httpClient = axios.create({
|
||||
|
||||
httpClient.interceptors.request.use(
|
||||
async (config) => {
|
||||
console.log(`API REQUEST to ${config.url}`, config);
|
||||
|
||||
// Language configs
|
||||
let language = LanguageRoutes.UZ;
|
||||
try {
|
||||
language = (await getLocale()) as LanguageRoutes;
|
||||
} catch (e) {
|
||||
console.log('error', e);
|
||||
} catch {
|
||||
language = getLocaleCS() || LanguageRoutes.UZ;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Golos_Text } from 'next/font/google';
|
||||
import { Poppins } from 'next/font/google';
|
||||
|
||||
const golosText = Golos_Text({
|
||||
const poppins = Poppins({
|
||||
weight: ['400', '500', '600', '700', '800'],
|
||||
variable: '--font-golos-text',
|
||||
subsets: ['latin', 'cyrillic'],
|
||||
variable: '--font-poppins',
|
||||
subsets: ['latin'],
|
||||
});
|
||||
|
||||
export { golosText };
|
||||
export { poppins };
|
||||
|
||||
Reference in New Issue
Block a user