From eabeb0c3947e5a5e0f6cd2fe51ec7c2e135b616a Mon Sep 17 00:00:00 2001 From: Ornella <68587983+Ornella452@users.noreply.github.com> Date: Wed, 27 Nov 2024 14:16:32 +0100 Subject: [PATCH] fix menu (#254) * fix menu * url button formulaire --- src/components/Menu.js | 12 ++++++------ src/views/aide-candidat/Actions.js | 2 +- src/views/aide-structure/Questions.js | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/Menu.js b/src/components/Menu.js index f316ba46..72651cf4 100644 --- a/src/components/Menu.js +++ b/src/components/Menu.js @@ -98,8 +98,8 @@ function Menu() { aria-controls="menu-cnfs" onClick={onClickMenu} { - ...(location.pathname.startsWith('/nouveau-formulaire-conseiller') || - location.pathname.startsWith('/nouveau-formulaire-structure') || + ...(location.pathname.startsWith('/aide-candidat') || + location.pathname.startsWith('/aide-structure') || location.pathname.startsWith('/nouveau-formulaire-coordinateur') ? { 'aria-current': true } : {}) }> Candidature @@ -108,17 +108,17 @@ function Menu() {