mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-26 13:48:33 +02:00
chore: remove unused values to stop linter complaining (#4078)
This commit is contained in:
parent
12c00733d9
commit
97875f3f59
@ -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(
|
||||
|
@ -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;
|
||||
|
@ -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,
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user