From 9428a20365258c8cc8a5a8a97e96ee6eb95db7aa Mon Sep 17 00:00:00 2001 From: Alex Rybchenko Date: Tue, 28 Sep 2021 19:38:27 +0200 Subject: [PATCH] forgot to run Prettier Signed-off-by: Alex Rybchenko --- plugins/catalog-react/src/components/EntityTable/columns.tsx | 4 +--- plugins/catalog/src/components/CatalogTable/columns.tsx | 5 +---- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/plugins/catalog-react/src/components/EntityTable/columns.tsx b/plugins/catalog-react/src/components/EntityTable/columns.tsx index 701a8a167c..57aaa156e8 100644 --- a/plugins/catalog-react/src/components/EntityTable/columns.tsx +++ b/plugins/catalog-react/src/components/EntityTable/columns.tsx @@ -150,9 +150,7 @@ export function createMetadataDescriptionColumn< }; } -export function createMetadataTitleColumn< - T extends Entity, ->(): TableColumn { +export function createMetadataTitleColumn(): TableColumn { return { title: 'Title', field: 'metadata.title', diff --git a/plugins/catalog/src/components/CatalogTable/columns.tsx b/plugins/catalog/src/components/CatalogTable/columns.tsx index 389e11f3c4..1ed0e1f72b 100644 --- a/plugins/catalog/src/components/CatalogTable/columns.tsx +++ b/plugins/catalog/src/components/CatalogTable/columns.tsx @@ -99,10 +99,7 @@ export function createMetadataTitleColumn(): TableColumn { title: 'Title', field: 'entity.metadata.title', render: ({ entity }) => ( - + ), width: 'auto', };