1
0
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:
Thomas Heartman 2023-06-23 11:32:09 +02:00 committed by GitHub
parent 12c00733d9
commit 97875f3f59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 20 deletions

View File

@ -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(

View File

@ -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;

View File

@ -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,

View File

@ -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';