refactor: moving locale definition
This commit is contained in:
@@ -3,6 +3,8 @@ import {getRequestConfig} from 'next-intl/server';
|
||||
|
||||
// Can be imported from a shared config
|
||||
export const locales = ['en', 'hr'];
|
||||
|
||||
export const defaultLocale = 'en';
|
||||
|
||||
export default getRequestConfig(async ({locale}) => {
|
||||
// Validate that the incoming `locale` parameter is valid
|
||||
|
||||
Reference in New Issue
Block a user