Merge branch '37-nav-resp' into 'dev'

Resolve "nav-resp"

Closes #37

See merge request sa4-2020/the-sanmarinoes/frontend!39
This commit is contained in:
Claudio Maggioni 2020-03-21 14:55:56 +01:00
commit 84c963b559

View file

@ -24,11 +24,11 @@ class Navbar extends Component {
obj = e; obj = e;
} }
}); });
this.setState({ this.setState({
activeItem: id, activeItem: id,
activeRoom: obj, activeItemName: name,
activeItemName: name activeRoom: obj
}); });
this.props.handleItemClick(id) this.props.handleItemClick(id)
} }