Skip to content

Commit

Permalink
fix(record): keep record button out of header
Browse files Browse the repository at this point in the history
  • Loading branch information
copios committed Dec 14, 2018
1 parent d288f93 commit fc6aa96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/renderer/components/sensor/header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ import ActivityIndicator from '../activity_indicator'
import { withStyles } from '@material-ui/core/styles'
import styles from '../../../styles/'
import StopWatch from '../../stop_watch/'
import RecordButton from '../record_button/'

export const Header = (props) => {
const { classes, sensor } = props
return (
<div className={classes.cardHeader}>
<ActivityIndicator fontSize="small" active={sensor.active} />
<div className={classes.cardName}>{sensor.name}&nbsp;</div>
<RecordButton sensor={sensor} />
<StopWatch sensor={sensor} />
</div>
)
Expand Down

0 comments on commit fc6aa96

Please sign in to comment.