We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dac9a6e + d23e6fe commit 9c2d959Copy full SHA for 9c2d959
src/components/Footer/Footer.jsx
@@ -23,8 +23,6 @@ const Footer = () => {
23
24
// TODO this looks like a bad way of doing it, I think it should be re-factored
25
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 !== '/'
28
29
return (
30
<MediaQuery minWidth={SCREEN_BREAKPOINT_MD}>
@@ -39,9 +37,8 @@ const Footer = () => {
39
37
</div>
40
38
)
41
} else {
42
- return (shouldHideOnMobile ? null :
43
- {/*<FooterV2 />*/}
44
- )
+ {/* never show footer on mobile */}
+ return null
45
}
46
}}
47
</MediaQuery>
0 commit comments