Revert "I18N Caching (#6823)"

This reverts commit 05c33bd94b.
This commit is contained in:
Alex van Andel committed 2023-02-14 13:55:19 +00:00
1 parent 1c97e549eb
commit e248fda36b
9 files changed
+44 -43

No files matched your search

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