From 45030882c248da089ca2dec67fcd248f12690313 Mon Sep 17 00:00:00 2001 From: Arctichawk1 Date: Wed, 31 Mar 2021 19:07:53 -0400 Subject: [PATCH 1/2] Added the alt to the logo. --- src/shared-components/navbar-component/Navbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared-components/navbar-component/Navbar.js b/src/shared-components/navbar-component/Navbar.js index b866aa9..c4f5f79 100644 --- a/src/shared-components/navbar-component/Navbar.js +++ b/src/shared-components/navbar-component/Navbar.js @@ -8,7 +8,7 @@ const Navbar = () => { /* Nav Bar */
@@ -68,8 +68,8 @@ class homePage extends Component { type="text" className="form-control" placeholder="Last Name" - value={this.state.name} - onChange={this.onNameChange.bind(this)} + value={this.state.lastname} + onChange={this.onLastNameChange.bind(this)} />
@@ -105,8 +105,12 @@ class homePage extends Component { ); } - onNameChange(event) { - this.setState({ name: event.target.value }); + onFirstNameChange(event) { + this.setState({ firstname: event.target.value }); + } + + onLastNameChange(event) { + this.setState({ lastname: event.target.value }); } onEmailChange(event) {