Fix : Menu shouldn't be displayed on logged out pages (#11437)
#11414 Conditionally render MobileNavigationBar based on user authentication status - Added useIsLogged hook to check if the user is authenticated. - Updated MobileNavigationBar component to render only when the user is logged in.  --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -122,7 +122,7 @@ export const DefaultLayout = () => {
|
||||
</StyledMainContainer>
|
||||
)}
|
||||
</StyledPageContainer>
|
||||
{isMobile && <MobileNavigationBar />}
|
||||
{isMobile && !showAuthModal && <MobileNavigationBar />}
|
||||
</AppErrorBoundary>
|
||||
</StyledLayout>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user