Skip to content

Commit

Permalink
Merge branch 'main' into infra/merge-queue-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robertaandersen authored Jan 30, 2025
2 parents 323e425 + 2221053 commit 41988e5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/web/components/MobileAppBanner/MobileAppBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,13 @@ export const MobileAppBanner = ({ namespace }: MobileAppBannerProps) => {
setIsMounted(true)
}, [])

return hidden ? null : (
<Hidden print={true}>
return (
<Hidden screen={hidden || !isMounted} print={true}>
<Box
background="blue400"
display="flex"
className={style.container}
alignItems={'center'}
style={{ visibility: isMounted ? 'visible' : 'hidden' }}
>
<button
className={style.closeBtn}
Expand Down

0 comments on commit 41988e5

Please sign in to comment.