mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 01:20:24 +03:00
Fixed indentation
This commit is contained in:
parent
e10028a2b9
commit
41a4f31c57
1 changed files with 10 additions and 10 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue