Skip to content

Commit

Permalink
Merge pull request #350 from EscolaLMS/feature/isMobileDevice
Browse files Browse the repository at this point in the history
for ios mobile safe area
  • Loading branch information
victazzz authored Mar 29, 2024
2 parents f5bc1c8 + 5c84c1b commit 7ebe530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/molecules/Navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ export const Navigation: React.FC<NavigationProps> = (props) => {
<>
{mobile ? (
<StyledNavigation className={`wellms-component ${className}`}>
<GlobalStyle $isMobileDevice={isMobileDevice} />
<GlobalStyle $isMobileDevice={isMobileDevice || false} />
<div className="header">
{React.isValidElement(logo) ? (
<React.Fragment>{logo}</React.Fragment>
Expand Down

0 comments on commit 7ebe530

Please sign in to comment.