diff --git a/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/AdvancedPlaygroundEnvironmentCell/AdvancedPlaygroundEnvironmentDiffCell.tsx b/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/AdvancedPlaygroundEnvironmentCell/AdvancedPlaygroundEnvironmentDiffCell.tsx index ab6969be96..7e64202472 100644 --- a/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/AdvancedPlaygroundEnvironmentCell/AdvancedPlaygroundEnvironmentDiffCell.tsx +++ b/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/AdvancedPlaygroundEnvironmentCell/AdvancedPlaygroundEnvironmentDiffCell.tsx @@ -1,11 +1,7 @@ import { Link, Popover, styled, Typography, useTheme } from '@mui/material'; import { flexRow } from '../../../../../themes/themeStyles'; import React, { useState } from 'react'; -import { - AdvancedPlaygroundEnvironmentFeatureSchema, - AdvancedPlaygroundFeatureSchemaEnvironments, -} from 'openapi'; -import { PlaygroundEnvironmentTable } from '../../PlaygroundEnvironmentTable/PlaygroundEnvironmentTable'; +import { AdvancedPlaygroundFeatureSchemaEnvironments } from 'openapi'; import { PlaygroundEnvironmentDiffTable } from '../../PlaygroundEnvironmentTable/PlaygroundEnvironmentDiffTable'; const StyledContainer = styled( diff --git a/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/AdvancedPlaygroundResultsTable.tsx b/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/AdvancedPlaygroundResultsTable.tsx index 645500bbb1..07e540a75a 100644 --- a/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/AdvancedPlaygroundResultsTable.tsx +++ b/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/AdvancedPlaygroundResultsTable.tsx @@ -45,13 +45,6 @@ const { value, setValue } = createLocalStorage( defaultSort ); -const StyledButton = styled(Link)(({ theme }) => ({ - textAlign: 'left', - textDecorationStyle: 'dotted', - textUnderlineOffset: theme.spacing(0.75), - color: theme.palette.neutral.dark, -})); - interface IAdvancedPlaygroundResultsTableProps { features?: AdvancedPlaygroundFeatureSchema[]; input?: AdvancedPlaygroundRequestSchema; diff --git a/frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentTable.tsx b/frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentTable.tsx index 5a55afa49f..50c2dacd24 100644 --- a/frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentTable.tsx +++ b/frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentTable.tsx @@ -97,13 +97,7 @@ export const PlaygroundEnvironmentTable = ({ ]; }, []); - const { - headerGroups, - rows, - state: { sortBy }, - prepareRow, - setHiddenColumns, - } = useTable( + const { headerGroups, rows, prepareRow, setHiddenColumns } = useTable( { columns: COLUMNS as any, data: features, diff --git a/frontend/src/component/segments/SegmentTable/SegmentTable.tsx b/frontend/src/component/segments/SegmentTable/SegmentTable.tsx index 1453f1340c..f94b14adec 100644 --- a/frontend/src/component/segments/SegmentTable/SegmentTable.tsx +++ b/frontend/src/component/segments/SegmentTable/SegmentTable.tsx @@ -11,7 +11,7 @@ import { import { useTable, useGlobalFilter, useSortBy } from 'react-table'; import { CreateSegmentButton } from 'component/segments/CreateSegmentButton/CreateSegmentButton'; import { SearchHighlightProvider } from 'component/common/Table/SearchHighlightContext/SearchHighlightContext'; -import { Box, useMediaQuery } from '@mui/material'; +import { useMediaQuery } from '@mui/material'; import { sortTypes } from 'utils/sortTypes'; import { useSegments } from 'hooks/api/getters/useSegments/useSegments'; import { useMemo, useState } from 'react';