Merge pull request #1507 from spotify/ellieseastream/remove-react-fc-from-codebase

Ellieseastream/remove react fc from codebase
This commit is contained in:
ellieseastream
2020-07-02 09:15:35 +02:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import React, { FC } from 'react';
import React from 'react';
import { Table, TableColumn } from '@backstage/core';
import { SentryIssue } from '../../data/sentry-issue';
import { format } from 'timeago.js';
@@ -60,7 +60,7 @@ type SentryIssuesTableProps = {
sentryIssues: SentryIssue[];
};
const SentryIssuesTable: FC<SentryIssuesTableProps> = ({ sentryIssues }) => {
const SentryIssuesTable = ({ sentryIssues }: SentryIssuesTableProps) => {
return (
<Table
columns={columns}
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import React, { FC } from 'react';
import React from 'react';
import { Link as RouterLink } from 'react-router-dom';
import {
Typography,
@@ -38,7 +38,7 @@ import {
configApiRef,
} from '@backstage/core';
const WelcomePage: FC<{}> = () => {
const WelcomePage = () => {
const appTitle =
useApi(configApiRef).getOptionalString('app.title') ?? 'Backstage';
const profile = { givenName: '' };