diff --git a/src/lib/components/tablev2/Tablev2.component.tsx b/src/lib/components/tablev2/Tablev2.component.tsx index 286348d10d..8d17c0f9d2 100644 --- a/src/lib/components/tablev2/Tablev2.component.tsx +++ b/src/lib/components/tablev2/Tablev2.component.tsx @@ -33,6 +33,7 @@ import { TableWrapper, TooltipContent } from './Tablestyle'; import { compareHealth, TableHeightKeyType } from './TableUtils'; import { useCheckbox } from './useCheckbox'; import { Icon } from '../icon/Icon.component'; +import { BrowserRouter } from 'react-router-dom'; type UpdateTableData< DATA_ROW extends Record = Record, @@ -156,8 +157,8 @@ const DefaultRenderer = ({ value }) => { rowHeight === 'h32' ? 1 : rowHeight === 'h40' || rowHeight === 'h48' - ? 2 - : 3; + ? 2 + : 3; return ( @@ -326,14 +327,16 @@ function Table< hasScrollbar, }; return ( - - - {children} - - + + + + {children} + + + ); }