Eslint fixes (package upgrade) (#2957)
This commit is contained in:
parent
3e3230aa34
commit
c61526f8d5
@ -151,7 +151,7 @@ export default class Application extends Component {
|
|||||||
let urlError = null;
|
let urlError = null;
|
||||||
|
|
||||||
if (url && url.length) {
|
if (url && url.length) {
|
||||||
var re = /^https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}/g;
|
const re = /^https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}/g; // eslint-disable-line
|
||||||
urlError = re.test(url)
|
urlError = re.test(url)
|
||||||
? null
|
? null
|
||||||
: 'not matching rexex';
|
: 'not matching rexex';
|
||||||
|
@ -122,7 +122,7 @@ export default class FirstRun extends Component {
|
|||||||
icon={ <ActionDoneAll /> }
|
icon={ <ActionDoneAll /> }
|
||||||
label='Close'
|
label='Close'
|
||||||
onClick={ this.onClose } />
|
onClick={ this.onClose } />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user