Code change to remove React.FC in SentryIssueTable.tsx, testing it out

This commit is contained in:
ellinors
2020-07-01 14:28:07 +02:00
parent 41fedc6016
commit 434994bfee
@@ -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}