message: put propTypes directly above component
diff: @@ -6,6 +6,11 @@ import plateSingleSrc from '../img/labware/plate_single.png'
  import troughSingleSrc from '../img/labware/trough_single.png'
  import tiprackSingleSrc from '../img/labware/tiprack_single.png'
  +Diagram.propTypes = {
  + isTiprack: PropTypes.bool.isRequired,
  + type: PropTypes.string.isRequired
  +}
  +
  export default function Diagram (props) {
  const {isTiprack, type} = props
  const style = classnames('flex', 'flex__items_center', 'flex__justify_center')
  @@ -24,8 +29,3 @@ export default function Diagram (props) {
  </div>
  )
  }
  -
  -Diagram.propTypes = {
  - isTiprack: PropTypes.bool.isRequired,
  - type: PropTypes.string.isRequired
  -}
  