summaryrefslogtreecommitdiff
path: root/app/client/common
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-21 18:46:32 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-21 18:46:32 +0200
commit5e6608c740017c989e68f847e940294f5ca5489e (patch)
treedbc72096eecd49209a5d5a107c38b9174ae535de /app/client/common
parent71f3bffcd69b5aad4319b1362cf35c8efd51bc10 (diff)
show fps..
Diffstat (limited to 'app/client/common')
-rw-r--r--app/client/common/header.component.js3
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) => ({