diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 18:46:32 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 18:46:32 +0200 |
| commit | 5e6608c740017c989e68f847e940294f5ca5489e (patch) | |
| tree | dbc72096eecd49209a5d5a107c38b9174ae535de /app/client/common | |
| parent | 71f3bffcd69b5aad4319b1362cf35c8efd51bc10 (diff) | |
show fps..
Diffstat (limited to 'app/client/common')
| -rw-r--r-- | app/client/common/header.component.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/client/common/header.component.js b/app/client/common/header.component.js index bb2ec04..844e1ef 100644 --- a/app/client/common/header.component.js +++ b/app/client/common/header.component.js @@ -4,12 +4,13 @@ import { connect } from 'react-redux' function Header(props) { return ( <header> - live cortex + live cortex | {props.fps} fps </header> ) } const mapStateToProps = state => ({ + fps: state.live.fps }) const mapDispatchToProps = (dispatch, ownProps) => ({ |
