diff --git a/src/homePage/homePage.js b/src/homePage/homePage.js
index a3ce942..22e85ba 100644
--- a/src/homePage/homePage.js
+++ b/src/homePage/homePage.js
@@ -59,8 +59,8 @@ class Homepage extends Component {
type="text"
className="form-control"
placeholder="First Name"
- value={this.state.name}
- onChange={this.onNameChange.bind(this)}
+ value={this.state.firstname}
+ onChange={this.onFirstNameChange.bind(this)}
/>
@@ -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) {
diff --git a/src/shared-components/navbar-component/Navbar.js b/src/shared-components/navbar-component/Navbar.js
index 8b0af91..8493e46 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 */