content: import React from 'react'
  import { connect } from 'react-redux'
  
  import Card, {
    CardContent,
    CardActions
  } from 'material-ui/Card'
  import Button from 'material-ui/Button'
  
  export default connect(mapStateToProps)(({
    adjudicatorTest,
    onChangeEdit
  }) =>
    <Card>
      <CardContent>
        {`Theme: ${adjudicatorTest[0].theme}`}
      </CardContent>
      <CardContent>
        {adjudicatorTest[0].motion}
      </CardContent>
      <CardActions
        className={'flex flex-row justify-end'}
      >
        <Button
          children={'EDIT'}
          color={'primary'}
          onClick={onChangeEdit}
        />
      </CardActions>
    </Card>
  )
  
  function mapStateToProps (state, ownProps) {
    return {
      adjudicatorTest: Object.values(state.adjudicatorTest.data)
    }
  }
  