From a6015692b2bdf83ed2b091f2f39ba957f2a9a7b6 Mon Sep 17 00:00:00 2001 From: Torjus Date: Tue, 24 Jul 2018 11:21:40 +0200 Subject: [PATCH] :lipstick: --- app/lib/components/Sidebar.jsx | 8 ++++++++ app/lib/redux/requestActions.js | 2 +- app/lib/redux/stateActions.js | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) 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