1 parent
1c97e549eb
commit
e248fda36b
9 files changed
+44
-43
No files matched your search
@@ -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,
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user