mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-31 13:47:02 +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 { Link, Popover, styled, Typography, useTheme } from '@mui/material';
|
||||||
import { flexRow } from '../../../../../themes/themeStyles';
|
import { flexRow } from '../../../../../themes/themeStyles';
|
||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import {
|
import { AdvancedPlaygroundFeatureSchemaEnvironments } from 'openapi';
|
||||||
AdvancedPlaygroundEnvironmentFeatureSchema,
|
|
||||||
AdvancedPlaygroundFeatureSchemaEnvironments,
|
|
||||||
} from 'openapi';
|
|
||||||
import { PlaygroundEnvironmentTable } from '../../PlaygroundEnvironmentTable/PlaygroundEnvironmentTable';
|
|
||||||
import { PlaygroundEnvironmentDiffTable } from '../../PlaygroundEnvironmentTable/PlaygroundEnvironmentDiffTable';
|
import { PlaygroundEnvironmentDiffTable } from '../../PlaygroundEnvironmentTable/PlaygroundEnvironmentDiffTable';
|
||||||
|
|
||||||
const StyledContainer = styled(
|
const StyledContainer = styled(
|
||||||
|
@ -45,13 +45,6 @@ const { value, setValue } = createLocalStorage(
|
|||||||
defaultSort
|
defaultSort
|
||||||
);
|
);
|
||||||
|
|
||||||
const StyledButton = styled(Link)(({ theme }) => ({
|
|
||||||
textAlign: 'left',
|
|
||||||
textDecorationStyle: 'dotted',
|
|
||||||
textUnderlineOffset: theme.spacing(0.75),
|
|
||||||
color: theme.palette.neutral.dark,
|
|
||||||
}));
|
|
||||||
|
|
||||||
interface IAdvancedPlaygroundResultsTableProps {
|
interface IAdvancedPlaygroundResultsTableProps {
|
||||||
features?: AdvancedPlaygroundFeatureSchema[];
|
features?: AdvancedPlaygroundFeatureSchema[];
|
||||||
input?: AdvancedPlaygroundRequestSchema;
|
input?: AdvancedPlaygroundRequestSchema;
|
||||||
|
@ -97,13 +97,7 @@ export const PlaygroundEnvironmentTable = ({
|
|||||||
];
|
];
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const {
|
const { headerGroups, rows, prepareRow, setHiddenColumns } = useTable(
|
||||||
headerGroups,
|
|
||||||
rows,
|
|
||||||
state: { sortBy },
|
|
||||||
prepareRow,
|
|
||||||
setHiddenColumns,
|
|
||||||
} = useTable(
|
|
||||||
{
|
{
|
||||||
columns: COLUMNS as any,
|
columns: COLUMNS as any,
|
||||||
data: features,
|
data: features,
|
||||||
|
@ -11,7 +11,7 @@ import {
|
|||||||
import { useTable, useGlobalFilter, useSortBy } from 'react-table';
|
import { useTable, useGlobalFilter, useSortBy } from 'react-table';
|
||||||
import { CreateSegmentButton } from 'component/segments/CreateSegmentButton/CreateSegmentButton';
|
import { CreateSegmentButton } from 'component/segments/CreateSegmentButton/CreateSegmentButton';
|
||||||
import { SearchHighlightProvider } from 'component/common/Table/SearchHighlightContext/SearchHighlightContext';
|
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 { sortTypes } from 'utils/sortTypes';
|
||||||
import { useSegments } from 'hooks/api/getters/useSegments/useSegments';
|
import { useSegments } from 'hooks/api/getters/useSegments/useSegments';
|
||||||
import { useMemo, useState } from 'react';
|
import { useMemo, useState } from 'react';
|
||||||
|
Loading…
Reference in New Issue
Block a user