fixed typos, add comments
This commit is contained in:
parent
b551dbd678
commit
fcd68147f4
@ -12,7 +12,7 @@ class AddPlant extends React.Component{
|
||||
}
|
||||
|
||||
handleChange = (e) => {
|
||||
// console.log(e.target.id, e.target.value);
|
||||
// console.log(e.target.id, e.target.value); // e.target.id reference to the state which is changed
|
||||
this.setState({
|
||||
[e.target.id]: e.target.value
|
||||
});
|
||||
|
||||
@ -25,13 +25,16 @@ export default function NavigationBar() {
|
||||
<Nav className="mr-auto">
|
||||
<Nav.Link href="/settings">Settings</Nav.Link>
|
||||
<Nav.Link href="/about">About</Nav.Link>
|
||||
<NavDropdown title="Dropdown" id="collasible-nav-dropdown">
|
||||
{
|
||||
/*
|
||||
<NavDropdown title="Dropdown" id="collasible-nav-dropdown">
|
||||
<NavDropdown.Item href="#action/3.1">Action</NavDropdown.Item>
|
||||
<NavDropdown.Item href="#action/3.2">Another action</NavDropdown.Item>
|
||||
<NavDropdown.Item href="#action/3.3">Something</NavDropdown.Item>
|
||||
<NavDropdown.Divider />
|
||||
<NavDropdown.Item href="#action/3.4">Separated link</NavDropdown.Item>
|
||||
</NavDropdown>
|
||||
</NavDropdown>*/
|
||||
}
|
||||
</Nav>
|
||||
</Navbar.Collapse>
|
||||
</Navbar>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user