From 6dd7d7f018ee4cdd6611b3d88cf6e2edd60e7d20 Mon Sep 17 00:00:00 2001 From: irma12 Date: Mon, 17 Oct 2022 20:19:55 +0200 Subject: [PATCH] Remove styling Signed-off-by: irma12 --- .../src/components/CatalogTable/CatalogTable.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/plugins/catalog/src/components/CatalogTable/CatalogTable.tsx b/plugins/catalog/src/components/CatalogTable/CatalogTable.tsx index ed782c4e9a..482352c2f8 100644 --- a/plugins/catalog/src/components/CatalogTable/CatalogTable.tsx +++ b/plugins/catalog/src/components/CatalogTable/CatalogTable.tsx @@ -56,14 +56,6 @@ export interface CatalogTableProps { subtitle?: string; } -const useStyles = makeStyles(theme => ({ - empty: { - padding: theme.spacing(2), - display: 'flex', - justifyContent: 'center', - }, -})); - const YellowStar = withStyles({ root: { color: '#f3ba37', @@ -75,7 +67,6 @@ export const CatalogTable = (props: CatalogTableProps) => { const { columns, actions, tableOptions, subtitle, emptyContent } = props; const { isStarredEntity, toggleStarredEntity } = useStarredEntities(); const { loading, error, entities, filters } = useEntityList(); - const classes = useStyles(); const defaultColumns: TableColumn[] = useMemo(() => { return [ @@ -238,9 +229,7 @@ export const CatalogTable = (props: CatalogTableProps) => { data={rows} actions={actions || defaultActions} subtitle={subtitle} - emptyContent={ - emptyContent &&
{emptyContent}
- } + emptyContent={emptyContent} /> ); };