migration wip
This commit is contained in:
@@ -335,7 +335,5 @@ export function useLocale(): Locale {
|
||||
|
||||
// Get dictionary for client components
|
||||
export function getDictionary(locale: Locale) {
|
||||
return {
|
||||
t: (key: string) => t(key, locale)
|
||||
};
|
||||
return translations[locale];
|
||||
}
|
||||
Reference in New Issue
Block a user