import { h, Component } from 'preact' import { Link } from 'react-router-dom'; import { connect } from 'react-redux' function Header(props) { const tools = "pix2pix samplernn style_transfer_video style_transfer_audio".split(" ").map((s,i) => { return }) return (
live cortex dashboard checkpoints datasets results live {props.fps} fps
) } const mapStateToProps = state => ({ fps: state.live.fps, frame: state.live.frame, }) const mapDispatchToProps = (dispatch, ownProps) => ({ }) export default connect(mapStateToProps, mapDispatchToProps)(Header)