From ee0a82605cbd3aef18fdd56a2475bfdd41675e82 Mon Sep 17 00:00:00 2001 From: ivynasantino Date: Tue, 4 Aug 2020 20:25:25 -0300 Subject: [PATCH] remove warnings --- src/components/Nav.js | 9 +++++---- src/components/Scroll.js | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/Nav.js b/src/components/Nav.js index d719930..06409a3 100644 --- a/src/components/Nav.js +++ b/src/components/Nav.js @@ -7,22 +7,22 @@ const Nav = (props) => (
  • - Introduction + Introduction
  • - First Section + First Section
  • - Second Section + Second Section
  • - Get Started + Get Started
  • @@ -30,3 +30,4 @@ const Nav = (props) => ( ) export default Nav + diff --git a/src/components/Scroll.js b/src/components/Scroll.js index 24c4dac..4ccab9d 100644 --- a/src/components/Scroll.js +++ b/src/components/Scroll.js @@ -53,11 +53,11 @@ class Scroll extends React.Component { {typeof(this.props.children) === 'object' ? ( React.cloneElement(this.props.children, { onClick: this.handleClick }) ) : ( - {this.props.children} + {}} onKeyPress={this.handleClick}>{this.props.children} )} ); } } -export default Scroll; \ No newline at end of file +export default Scroll;