Fixed ESLint errors and warning that could be fixed with eslint --fix
This commit is contained in:
parent
09841c05e2
commit
eb14200643
@ -32,8 +32,8 @@ export default class AuthenticationPage extends React.Component {
|
||||
}
|
||||
response.json().then((data) => {
|
||||
this.setState({ loginError: data.msg });
|
||||
})
|
||||
})
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
handleChange(key) {
|
||||
|
@ -2,7 +2,7 @@ import React from 'react';
|
||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import moment from 'moment';
|
||||
import { Card } from './UI';
|
||||
import { Link } from 'react-router'
|
||||
import { Link } from 'react-router';
|
||||
import { statusDescriptions } from '../constants/publishModes';
|
||||
import styles from './UnpublishedListing.css';
|
||||
|
||||
|
@ -62,4 +62,4 @@ export const SCHEMA = {
|
||||
borderRadius: '4px'
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -39,4 +39,4 @@ storiesOf('Card', module)
|
||||
<p>header and footer elements are also not subject to margin</p>
|
||||
<footer style={styles.footer}>© Thousand Cats Corp</footer>
|
||||
</Card>
|
||||
))
|
||||
));
|
||||
|
@ -13,7 +13,7 @@ module.exports = {
|
||||
{ test: /\.json$/, loader: 'json-loader' },
|
||||
{
|
||||
test: /\.css$/,
|
||||
loader: ExtractTextPlugin.extract("style", "css?modules&importLoaders=1&&localIdentName=cms__[name]__[local]!postcss"),
|
||||
loader: ExtractTextPlugin.extract('style', 'css?modules&importLoaders=1&&localIdentName=cms__[name]__[local]!postcss'),
|
||||
},
|
||||
{
|
||||
loader: 'babel',
|
||||
|
Loading…
x
Reference in New Issue
Block a user