File tree Expand file tree Collapse file tree
packages/app-store/_components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { useAutoAnimate } from "@formkit/auto-animate/react" ;
22import Link from "next/link" ;
3- import { useTranslation } from "react-i18next" ;
43
54import { useAppContextWithSchema } from "@calcom/app-store/EventTypeAppContext" ;
65import { useIsPlatform } from "@calcom/atoms/hooks/useIsPlatform" ;
6+ import { useLocale } from "@calcom/lib/hooks/useLocale" ;
77import type { RouterOutputs } from "@calcom/trpc/react" ;
88import classNames from "@calcom/ui/classNames" ;
99import { Button } from "@calcom/ui/components/button" ;
@@ -42,7 +42,7 @@ export default function AppCard({
4242 hideSettingsIcon ?: boolean ;
4343 hideAppCardOptions ?: boolean ;
4444} ) {
45- const { t } = useTranslation ( ) ;
45+ const { t } = useLocale ( ) ;
4646 const [ animationRef ] = useAutoAnimate < HTMLDivElement > ( ) ;
4747 const { setAppData, LockedIcon, disabled : managedDisabled } = useAppContextWithSchema ( ) ;
4848 const isPlatform = useIsPlatform ( ) ;
You can’t perform that action at this time.
0 commit comments