mattermost-mobile/app/components/logout/logout_container.js
enahum e2f3f7b803 project folder structure (#107)
* project folder structure

* Moving store to be called from app folder
2016-12-09 10:34:17 -05:00

17 lines
444 B
JavaScript

// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
import {bindActionCreators} from 'redux';
import {connect} from 'react-redux';
import {logout} from 'service/actions/users';
import Logout from './logout.js';
function mapDispatchToProps(dispatch) {
return {
actions: bindActionCreators({logout}, dispatch)
};
}
export default connect(null, mapDispatchToProps)(Logout);