mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-01 07:26:38 +00:00
Format all files
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import {getRequestConfig} from 'next-intl/server';
|
||||
import {getUserLocale} from '../services/locale';
|
||||
import { getRequestConfig } from "next-intl/server";
|
||||
import { getUserLocale } from "../services/locale";
|
||||
|
||||
export default getRequestConfig(async () => {
|
||||
const locale = await getUserLocale();
|
||||
const locale = await getUserLocale();
|
||||
|
||||
return {
|
||||
locale,
|
||||
messages: (await import(`../../messages/${locale}.json`)).default
|
||||
};
|
||||
});
|
||||
return {
|
||||
locale,
|
||||
messages: (await import(`../../messages/${locale}.json`)).default
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user