From 38c81dd96283bded19851c6f169e85a6ff1323a1 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 16 Oct 2018 10:17:55 +0200 Subject: [PATCH] Footer does not appear at home component --- client/src/views/footer/index.js | 140 ++++++++++++++++--------------- client/src/views/home/index.js | 2 + 2 files changed, 74 insertions(+), 68 deletions(-) diff --git a/client/src/views/footer/index.js b/client/src/views/footer/index.js index 9de1f2bb9..bd9442544 100644 --- a/client/src/views/footer/index.js +++ b/client/src/views/footer/index.js @@ -39,107 +39,111 @@ const styles = theme => ({ }) const Footer = ({ classes }) => { - return ( - + ) + } } Footer.propTypes = { diff --git a/client/src/views/home/index.js b/client/src/views/home/index.js index f80b0326c..178f3cf3b 100644 --- a/client/src/views/home/index.js +++ b/client/src/views/home/index.js @@ -30,12 +30,14 @@ class Home extends Component { window.CANVAS_VISIBLE = true let body = document.getElementById('body') body.style = 'margin: 0px; padding: 0px; border: 0px; overflow:hidden;' + window.HIDE_FOOTER = true } componentWillUnmount () { window.CANVAS_VISIBLE = false let body = document.getElementById('body') body.style = '' + window.HIDE_FOOTER = false } render () {