diff --git a/frontend/src/component/common/ConstraintAccordion/ConstraintAccordionView/ConstraintAccordionViewHeader/ContraintAccordionViewHeaderMultipleValues/ConstraintAccordionViewHeaderMultipleValues.tsx b/frontend/src/component/common/ConstraintAccordion/ConstraintAccordionView/ConstraintAccordionViewHeader/ContraintAccordionViewHeaderMultipleValues/ConstraintAccordionViewHeaderMultipleValues.tsx index 14e3d06b79..9d063c1c94 100644 --- a/frontend/src/component/common/ConstraintAccordion/ConstraintAccordionView/ConstraintAccordionViewHeader/ContraintAccordionViewHeaderMultipleValues/ConstraintAccordionViewHeaderMultipleValues.tsx +++ b/frontend/src/component/common/ConstraintAccordion/ConstraintAccordionView/ConstraintAccordionViewHeader/ContraintAccordionViewHeaderMultipleValues/ConstraintAccordionViewHeaderMultipleValues.tsx @@ -1,10 +1,9 @@ import { ConditionallyRender } from '../../../../ConditionallyRender/ConditionallyRender'; -import { styled, Typography } from '@mui/material'; +import { styled } from '@mui/material'; import React, { useEffect, useMemo, useState } from 'react'; import classnames from 'classnames'; import { IConstraint } from '../../../../../../interfaces/strategy'; import { useStyles } from '../../../ConstraintAccordion.styles'; -import { PlaygroundConstraintSchema } from 'hooks/api/actions/usePlayground/playground.model'; const StyledValuesSpan = styled('span')(({ theme }) => ({ display: '-webkit-box', @@ -21,7 +20,7 @@ const StyledValuesSpan = styled('span')(({ theme }) => ({ })); interface ConstraintSingleValueProps { - constraint: IConstraint | PlaygroundConstraintSchema; + constraint: IConstraint; expanded: boolean; maxLength: number; allowExpand: (shouldExpand: boolean) => void; @@ -51,21 +50,6 @@ export const ConstraintAccordionViewHeaderMultipleValues = ({ return (
- - does not match any values{' '} - - } - /> {text} ({ margin: 'auto 0', @@ -15,7 +13,7 @@ const StyledSingleValueChip = styled(Chip)(({ theme }) => ({ })); interface ConstraintSingleValueProps { - constraint: IConstraint | PlaygroundConstraintSchema; + constraint: IConstraint; allowExpand: (shouldExpand: boolean) => void; } @@ -32,16 +30,6 @@ export const ConstraintAccordionViewHeaderSingleValue = ({ return (
- - does not match any values{' '} - - } - />