UNPKG

webgme-dss

Version:

Design Studio for Dynamic Systems with Modelica as backend

12 lines (7 loc) 363 B
import {connect} from 'react-redux'; import UserProfileNavigator from 'webgme-react-components/src/components/UserProfileNavigator'; const mapStateToProps = state => ({ userInfo: state.users.currentUser, }); const mapDispatchToProps = (/* dispatch */) => ({}); export default connect(mapStateToProps, mapDispatchToProps)(UserProfileNavigator);