Merge pull request #1507 from spotify/ellieseastream/remove-react-fc-from-codebase
Ellieseastream/remove react fc from codebase
This commit is contained in:
@@ -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: '' };
|
||||
|
||||
Reference in New Issue
Block a user