Revert "Revert "I18N Caching (#6823)""

This reverts commit e248fda36b.

Re-fixed cache rules
This commit is contained in:
zomars committed 2023-02-14 09:00:28 -07:00
1 parent e248fda36b
commit 4cb264f1f7
9 files changed
+45 -44

No files matched your search

-11
View File
@@ -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,
};
};