From 27d88926b6d82d13816a2b85fa4e730deb6b18bd Mon Sep 17 00:00:00 2001 From: Simon Gardner Date: Thu, 24 Jul 2025 10:06:09 +0100 Subject: [PATCH] Merge pull request #27278 from overleaf/slg-improve-sidebar-color-contrast Improve sidebar colour contrast GitOrigin-RevId: 0afe7540f1c4a3454c3c89f18161d5613651bdad --- .../js/features/project-list/components/add-affiliation.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/services/web/frontend/js/features/project-list/components/add-affiliation.tsx b/services/web/frontend/js/features/project-list/components/add-affiliation.tsx index 64a653d697..de4a130bfc 100644 --- a/services/web/frontend/js/features/project-list/components/add-affiliation.tsx +++ b/services/web/frontend/js/features/project-list/components/add-affiliation.tsx @@ -3,7 +3,6 @@ import { useProjectListContext } from '../context/project-list-context' import getMeta from '../../../utils/meta' import classNames from 'classnames' import OLButton from '@/features/ui/components/ol/ol-button' -import { useDsNavStyle } from '@/features/project-list/components/use-is-ds-nav' export function useAddAffiliation() { const { totalProjectsCount } = useProjectListContext() @@ -22,7 +21,6 @@ type AddAffiliationProps = { function AddAffiliation({ className }: AddAffiliationProps) { const { t } = useTranslation() const { show } = useAddAffiliation() - const dsNavStyle = useDsNavStyle() if (!show) { return null @@ -32,9 +30,7 @@ function AddAffiliation({ className }: AddAffiliationProps) { return (
-

- {t('are_you_affiliated_with_an_institution')} -

+

{t('are_you_affiliated_with_an_institution')}

{t('add_affiliation')}