mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
fix lint errors
This commit is contained in:
parent
fe8df27811
commit
47357aea28
@ -23,7 +23,6 @@ async function logout() {
|
||||
}
|
||||
|
||||
class ContentError extends React.Component {
|
||||
|
||||
render() {
|
||||
const { error, children, i18n } = this.props;
|
||||
if (error && error.response && error.response.status === 401) {
|
||||
|
||||
@ -56,7 +56,8 @@ class JobTypeRedirect extends Component {
|
||||
<Card className="awx-c-card">
|
||||
{error === NOT_FOUND ? (
|
||||
<NotFoundError>
|
||||
The requested job could not be found. <Link to="/jobs">View all Jobs.</Link>
|
||||
The requested job could not be found.{' '}
|
||||
<Link to="/jobs">View all Jobs.</Link>
|
||||
</NotFoundError>
|
||||
) : (
|
||||
<ContentError error={error} />
|
||||
|
||||
@ -1,11 +1,10 @@
|
||||
import React, { Component, Fragment } from 'react';
|
||||
import { withI18n } from '@lingui/react';
|
||||
import { t } from '@lingui/macro';
|
||||
import { Route, withRouter, Switch, Link } from 'react-router-dom';
|
||||
import { Route, withRouter, Switch } from 'react-router-dom';
|
||||
|
||||
import { Config } from '@contexts/Config';
|
||||
import Breadcrumbs from '@components/Breadcrumbs/Breadcrumbs';
|
||||
import { NotFoundError } from '@components/ContentError';
|
||||
import { TemplateList } from './TemplateList';
|
||||
import Template from './Template';
|
||||
import JobTemplateAdd from './JobTemplateAdd';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user