import { h, Component } from 'preact' import { connect } from 'react-redux' function Header(props) { return (
live cortex {props.fps} fps
) } const mapStateToProps = state => ({ fps: state.live.fps, frame: state.live.frame, }) const mapDispatchToProps = (dispatch, ownProps) => ({ }) export default connect(mapStateToProps, mapDispatchToProps)(Header)