diff --git a/src/components/Footer/index.js b/src/components/Footer/index.js index 2184d08b..134a3f06 100644 --- a/src/components/Footer/index.js +++ b/src/components/Footer/index.js @@ -15,6 +15,7 @@ declare var COMMITHASH: string; type Props = { opened: boolean, + isLanding: boolean, toggle: () => any, } @@ -48,7 +49,7 @@ const Right = styled.div` white-space: nowrap; `; -const Footer = ({ opened, toggle }: Props) => ( +const Footer = ({ opened, toggle, isLanding }: Props) => ( © {getYear(new Date())} @@ -56,14 +57,17 @@ const Footer = ({ opened, toggle }: Props) => ( Terms { opened ? 'Hide Log' : 'Show Log' } - - Exchange rates byCoingecko - + {!isLanding && ( + + Exchange rates byCoingecko + + )} ); Footer.propTypes = { opened: PropTypes.bool.isRequired, + isLanding: PropTypes.bool, toggle: PropTypes.func.isRequired, }; diff --git a/src/views/Landing/components/LandingWrapper/index.js b/src/views/Landing/components/LandingWrapper/index.js index 25c9b3bb..7b6dccd5 100644 --- a/src/views/Landing/components/LandingWrapper/index.js +++ b/src/views/Landing/components/LandingWrapper/index.js @@ -53,7 +53,7 @@ const LandingWrapper = (props: Props) => ( { props.children } )} -