mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 09:30:31 +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 })}
|
onChange={e => this.setState({ [id]: e.target.value })}
|
||||||
{...props}
|
{...props}
|
||||||
/>;
|
/>;
|
||||||
const createDateInput = (id, placeholder, props = {}) =>
|
const createDateInput = (id, placeholder, props = {}) =>
|
||||||
<DatePicker
|
<DatePicker
|
||||||
selected={this.state[id]}
|
selected={this.state[id]}
|
||||||
className="form-control create-short-url__date-input"
|
className="form-control create-short-url__date-input"
|
||||||
placeholderText={placeholder}
|
placeholderText={placeholder}
|
||||||
onChange={date => this.setState({ [id]: date })}
|
onChange={date => this.setState({ [id]: date })}
|
||||||
dateFormat="YYYY-MM-DD"
|
dateFormat="YYYY-MM-DD"
|
||||||
readOnly
|
readOnly
|
||||||
{...props}
|
{...props}
|
||||||
/>;
|
/>;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="short-urls-container">
|
<div className="short-urls-container">
|
||||||
|
|
Loading…
Reference in a new issue