import useCustomServerTranslation from 'src/hooks/useCustomServerTranslation';

import itemsConfig from 'src/components/dashboard/sidebar/constants';

const { titleTranslationKey } = itemsConfig.knowledgeLibraries;

const useLibrariesTitle = () => {
  return useCustomServerTranslation({
    module: 'KNOWLEDGE_LIBRARIES',
    defaultTranslationKey: titleTranslationKey,
    namespace: 'dashboard_sidebar_app',
  });
};

export default useLibrariesTitle;
