Fixed indentation

This commit is contained in:
Alejandro Celaya 2018-07-28 09:34:31 +02:00
parent e10028a2b9
commit 41a4f31c57

View file

@ -39,16 +39,16 @@ export default class CreateShortUrl extends React.Component {
onChange={e => this.setState({ [id]: e.target.value })}
{...props}
/>;
const createDateInput = (id, placeholder, props = {}) =>
<DatePicker
selected={this.state[id]}
className="form-control create-short-url__date-input"
placeholderText={placeholder}
onChange={date => this.setState({ [id]: date })}
dateFormat="YYYY-MM-DD"
readOnly
{...props}
/>;
const createDateInput = (id, placeholder, props = {}) =>
<DatePicker
selected={this.state[id]}
className="form-control create-short-url__date-input"
placeholderText={placeholder}
onChange={date => this.setState({ [id]: date })}
dateFormat="YYYY-MM-DD"
readOnly
{...props}
/>;
return (
<div className="short-urls-container">