From 3dfa4c9cde9c5dadd1154b7fe61cd6a6d6ece116 Mon Sep 17 00:00:00 2001 From: Javier Date: Tue, 27 Feb 2024 12:36:11 +0200 Subject: [PATCH 1/2] Added ID to global navbar to target it from other components Global navbar display switch to none when the user visits /register, which fixes issue with action bar not being responsive Applied lint rules to some files and deleted some commented code --- .../components/navbars/GlobalNavBar/index.js | 6 ++++-- .../register/RegistrationBottomBar/index.js | 2 +- .../RegistrationSectionCustom/index.js | 19 +++++++++---------- .../src/pages/_events/slug/register/index.js | 9 +++++++-- 4 files changed, 21 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/navbars/GlobalNavBar/index.js b/frontend/src/components/navbars/GlobalNavBar/index.js index 2bb5e6c81..cb78e8872 100644 --- a/frontend/src/components/navbars/GlobalNavBar/index.js +++ b/frontend/src/components/navbars/GlobalNavBar/index.js @@ -35,10 +35,12 @@ const useStyles = makeStyles(theme => ({ export default () => { const classes = useStyles() return ( -
+