apps/meteor/client/hooks/useTranslationsForApps.ts
Function useTranslationsForApps
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useTranslationsForApps = () => {
const getAppsLanguages = useEndpoint('GET', '/apps/languages');
const { isSuccess, data } = useQuery({
queryKey: ['apps', 'translations'] as const,