import useCustomServerTranslation from 'src/hooks/useCustomServerTranslation';
import { UserPermissions } from 'src/utils/permissions';

const usePathsTitle = (
  defaultTranslationKey = `title_${UserPermissions.VIEW_PATHS}`,
) => {
  return useCustomServerTranslation({
    module: 'PATHS',
    defaultTranslationKey,
    namespace: 'apps',
  });
};

export default usePathsTitle;
