message: Fix issue with signin/signup modals
diff: @@ -37,6 +37,7 @@ const Navbar = (props: Props) => {
  }, [props.redirect]); /* eslint-disable-line react-hooks/exhaustive-deps */
  return (
  + <>
  <nav
  className={classnames('navbar navbar-top navbar-expand-md navbar-dark', styles.navbar, {
  [styles.homeNavbar]: props.fromHome,
  @@ -59,19 +60,12 @@ const Navbar = (props: Props) => {
  </div>
  </Link>
  - <MobileSettings setOpenSignUp={setOpenSignUp} setOpenLogIn={setOpenLogIn} privateRoute={props.privateRoute} />
  - </div>
  -
  - {openSignUp && <SignUp openSignUp={openSignUp} setOpenSignUp={setOpenSignUp} />}
  -
  - {openLogIn && (
  - <LogIn
  - openLogIn={openLogIn}
  + <MobileSettings
  + setOpenSignUp={setOpenSignUp}
  setOpenLogIn={setOpenLogIn}
  - redirect={props.redirect}
  - visibleModal={props.visibleModal}
  + privateRoute={props.privateRoute}
  />
  - )}
  + </div>
  {isUndefined(props.fromHome) && (
  <SearchBar
  @@ -145,6 +139,18 @@ const Navbar = (props: Props) => {
  </div>
  </div>
  </nav>
  +
  + {openSignUp && <SignUp openSignUp={openSignUp} setOpenSignUp={setOpenSignUp} />}
  +
  + {openLogIn && (
  + <LogIn
  + openLogIn={openLogIn}
  + setOpenLogIn={setOpenLogIn}
  + redirect={props.redirect}
  + visibleModal={props.visibleModal}
  + />
  + )}
  + </>
  );
  };
  