Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

Commit

Permalink
Removing useless props)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuenoleK committed Nov 3, 2016
1 parent f253267 commit 2510b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/field.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import DefaultListComponent from './list';
import DefaultTextComponent from './text';
import DefaultSelectDisplayComponent from './select-display';

const FieldLabelValueComponent = ({label, ValueComponent, editing, hasLabel}) => (
const FieldLabelValueComponent = ({label, ValueComponent, editing}) => (
<div data-focus='field' className='mdl-grid' data-mode={editing ? 'edit' : 'consult'}>
<div data-focus='field-label-container' className='mdl-cell mdl-cell--top mdl-cell--4-col'><b><div data-focus='label'>{label}</div></b></div>
<div data-focus='field-value-container' className='mdl-cell mdl-cell--top mdl-cell--8-col'>{ValueComponent}</div>
Expand Down

0 comments on commit 2510b31

Please sign in to comment.