import { h, Component } from 'preact' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import { Route, Link } from 'react-router-dom' class Browser extends Component { render(){ const { app } = this.props console.log(this.props) return (

browser

{app.tool}
) } } const mapStateToProps = state => ({ app: state.system.app, }) const mapDispatchToProps = (dispatch, ownProps) => ({ // actions: bindActionCreators(dashboardActions, dispatch), }) export default connect(mapStateToProps, mapDispatchToProps)(Browser)