Revert "Revert "I18N Caching (#6823)""
This reverts commit e248fda36b.
Re-fixed cache rules
This commit is contained in:
1 parent
e248fda36b
commit
4cb264f1f7
9 files changed
+45
-44
No files matched your search
@@ -1,11 +0,0 @@
|
||||
import { useTranslation } from "next-i18next";
|
||||
|
||||
/** @deprecated use the one from `@calcom/lib/hooks/useLocale` */
|
||||
export const useLocale = () => {
|
||||
const { i18n, t } = useTranslation("common");
|
||||
|
||||
return {
|
||||
i18n,
|
||||
t,
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user