Skip to content

Commit 9c2d959

Browse files
authored
Merge pull request #4139 from appirio-tech/hotfix/patch-release-2.12.1
[HOTFIX] [PROD] Patch release 2.12.1
2 parents dac9a6e + d23e6fe commit 9c2d959

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/components/Footer/Footer.jsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ const Footer = () => {
2323

2424
// TODO this looks like a bad way of doing it, I think it should be re-factored
2525
const shouldHideOnDesktop = isProjectDetails || isCreateProject || isNotificationsPage || isSettingsPage
26-
// on mobile show footer only when user is logged-out, so only root page is available
27-
const shouldHideOnMobile = window.location.pathname !== '/'
2826

2927
return (
3028
<MediaQuery minWidth={SCREEN_BREAKPOINT_MD}>
@@ -39,9 +37,8 @@ const Footer = () => {
3937
</div>
4038
)
4139
} else {
42-
return (shouldHideOnMobile ? null :
43-
{/*<FooterV2 />*/}
44-
)
40+
{/* never show footer on mobile */}
41+
return null
4542
}
4643
}}
4744
</MediaQuery>

0 commit comments

Comments
 (0)