diff --git a/plugins/github-deployments/src/components/GithubDeploymentsCard.test.tsx b/plugins/github-deployments/src/components/GithubDeploymentsCard.test.tsx index 93074d4df5..c6f5d2a034 100644 --- a/plugins/github-deployments/src/components/GithubDeploymentsCard.test.tsx +++ b/plugins/github-deployments/src/components/GithubDeploymentsCard.test.tsx @@ -24,7 +24,7 @@ import { OAuthApi, } from '@backstage/core'; -import { msw } from '@backstage/test-utils' +import { msw } from '@backstage/test-utils'; import { GithubDeploymentsApiClient, githubDeploymentsApiRef } from '../api'; import { githubDeploymentsPlugin } from '../plugin'; import { GithubDeploymentsCard } from './GithubDeploymentsCard'; diff --git a/plugins/github-deployments/src/components/GithubDeploymentsCard.tsx b/plugins/github-deployments/src/components/GithubDeploymentsCard.tsx index d108dd61ae..6be4a5a6b3 100644 --- a/plugins/github-deployments/src/components/GithubDeploymentsCard.tsx +++ b/plugins/github-deployments/src/components/GithubDeploymentsCard.tsx @@ -14,7 +14,13 @@ * limitations under the License. */ import React from 'react'; -import { InfoCard, MissingAnnotationEmptyState, Progress, ResponseErrorPanel, useApi } from '@backstage/core'; +import { + InfoCard, + MissingAnnotationEmptyState, + Progress, + ResponseErrorPanel, + useApi, +} from '@backstage/core'; import { useAsync } from 'react-use'; import { githubDeploymentsApiRef } from '../api'; import { useEntity } from '@backstage/plugin-catalog-react'; @@ -46,9 +52,7 @@ const GithubDeploymentsComponent = ({ ); } if (error) { - return ( - - ); + return ; } return ; diff --git a/plugins/github-deployments/src/components/GithubDeploymentsTable/GithubDeploymentsTable.tsx b/plugins/github-deployments/src/components/GithubDeploymentsTable/GithubDeploymentsTable.tsx index 7a12f45f34..f5fae7f449 100644 --- a/plugins/github-deployments/src/components/GithubDeploymentsTable/GithubDeploymentsTable.tsx +++ b/plugins/github-deployments/src/components/GithubDeploymentsTable/GithubDeploymentsTable.tsx @@ -14,7 +14,15 @@ * limitations under the License. */ import React from 'react'; -import { StatusPending, StatusRunning, StatusOK, Table, TableColumn, StatusAborted, StatusError } from '@backstage/core'; +import { + StatusPending, + StatusRunning, + StatusOK, + Table, + TableColumn, + StatusAborted, + StatusError, +} from '@backstage/core'; import { GithubDeployment } from '../../api'; import { DateTime } from 'luxon'; import { Box, Typography, Link, makeStyles } from '@material-ui/core'; @@ -41,7 +49,7 @@ const statusIndicator = (value: string): React.ReactNode => { default: return ; } -} +}; const columns: TableColumn[] = [ { diff --git a/plugins/github-deployments/src/index.ts b/plugins/github-deployments/src/index.ts index 7660aaad3b..2ee681332a 100644 --- a/plugins/github-deployments/src/index.ts +++ b/plugins/github-deployments/src/index.ts @@ -13,8 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -export { - githubDeploymentsPlugin, - EntityGithubDeploymentsCard, -} from './plugin'; +export { githubDeploymentsPlugin, EntityGithubDeploymentsCard } from './plugin'; export { isGithubDeploymentsAvailable } from './Router';