diff --git a/app/lib/components/Sidebar.jsx b/app/lib/components/Sidebar.jsx index 616b823..f8d71a5 100644 --- a/app/lib/components/Sidebar.jsx +++ b/app/lib/components/Sidebar.jsx @@ -144,6 +144,13 @@ class Sidebar extends Component onClick={onLogin} /> ))} + +
onLeaveMeeting()} + />
); } @@ -157,6 +164,7 @@ Sidebar.propTypes = { onNeedExtension : PropTypes.func.isRequired, onLeaveMeeting : PropTypes.func.isRequired, onLogin : PropTypes.func.isRequired, + onLogout : PropTypes.func.isRequired, screenProducer : appPropTypes.Producer }; diff --git a/app/lib/redux/requestActions.js b/app/lib/redux/requestActions.js index b27ea1c..d0f76bc 100644 --- a/app/lib/redux/requestActions.js +++ b/app/lib/redux/requestActions.js @@ -145,7 +145,7 @@ export const userLogin = () => export const userLogout = () => { return { - type: 'USER_LOGOUT' + type : 'USER_LOGOUT' }; }; diff --git a/app/lib/redux/stateActions.js b/app/lib/redux/stateActions.js index 65bd437..e9c9fb7 100644 --- a/app/lib/redux/stateActions.js +++ b/app/lib/redux/stateActions.js @@ -447,5 +447,5 @@ export const setPeerPicture = (peerName, picture) => export const loggedIn = () => ({ - type: 'LOGGED_IN', + type : 'LOGGED_IN' }); \ No newline at end of file