aboutsummaryrefslogtreecommitdiff
path: root/src/settings
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-11-26 09:43:43 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-11-26 11:45:32 +0900
commite90cf895add023240e4aed700db76cb4b38595a5 (patch)
treef18826f957d299e8a89923806b426679896aa05d /src/settings
parent256e7372d4a96079b993115eabde8b33d400c7c8 (diff)
add input test
Diffstat (limited to 'src/settings')
-rw-r--r--src/settings/components/ui/input.jsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/settings/components/ui/input.jsx b/src/settings/components/ui/input.jsx
index 5138411..e99dbc7 100644
--- a/src/settings/components/ui/input.jsx
+++ b/src/settings/components/ui/input.jsx
@@ -6,10 +6,7 @@ class Input extends Component {
renderText(props) {
let inputClassName = props.error ? 'input-error' : '';
return <div className='settings-ui-input'>
- <label
- type='text'
- htmlFor={props.id}
- >{ props.label }</label>
+ <label htmlFor={props.id}>{ props.label }</label>
<input type='text' className={inputClassName} {...props} />
</div>;
}