From 4365ae46e4dcb43c0688491d9ec3dbe55d1bfbb7 Mon Sep 17 00:00:00 2001 From: Aramis Sennyey Date: Wed, 1 Feb 2023 17:37:50 -0500 Subject: [PATCH] Remove items that are overriden in passed props. Signed-off-by: Aramis Sennyey --- .../src/components/CatalogGraphCard/CatalogGraphCard.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.tsx b/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.tsx index 0266693696..e646cc7cfa 100644 --- a/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.tsx +++ b/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.tsx @@ -56,7 +56,10 @@ const useStyles = makeStyles( ); export const CatalogGraphCard = ( - props: Omit & { + props: Omit< + EntityRelationsGraphProps, + 'rootEntityNames' | 'onNodeClick' | 'className' + > & { variant?: InfoCardVariants; height?: number; title?: string;