diff -r 97536386b397 -r 57d63a248f0d client/src/components/Navbar.js --- a/client/src/components/Navbar.js Wed Aug 29 11:02:36 2018 +0200 +++ b/client/src/components/Navbar.js Fri Aug 31 15:14:18 2018 +0200 @@ -12,14 +12,15 @@ import { groupSetCurrent } from '../actions/groupActions'; import { isAuthenticated, getCurrentUser, getOnline, getCurrentGroup, getGroups } from '../selectors/authSelectors'; import { isSynchronizing, isSynchronized } from '../selectors/syncSelectors'; +import CreateSession from './CreateSession'; import NavbarLogin from './NavbarLogin'; import NavbarGroup from './NavbarGroup'; const Online = ({ online }) => { return ( -
  • - - signal_wifi_4_bar +
  • + + signal_wifi_4_bar
  • ) @@ -40,8 +41,8 @@ if (isAuthenticated) { return ( -
  • - +
  • +
  • ); @@ -62,6 +63,10 @@ this.state = { modalIsOpen: false }; } + componentWillMount() { + Modal.setAppElement('body'); +} + openModal = () => { this.setState({modalIsOpen: true}); } @@ -129,24 +134,29 @@ render() { return ( -