From 549ea594968db63b9656ecdaeaea735820319c42 Mon Sep 17 00:00:00 2001 From: Chloe Rice Date: Fri, 6 Sep 2024 13:00:11 -0400 Subject: [PATCH] type errors --- polaris-react/src/components/IndexFilters/IndexFilters.tsx | 3 +-- .../IndexFilters/components/FilterButton/FilterButton.tsx | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/polaris-react/src/components/IndexFilters/IndexFilters.tsx b/polaris-react/src/components/IndexFilters/IndexFilters.tsx index 4d3b6d198c5..4c2b180582c 100644 --- a/polaris-react/src/components/IndexFilters/IndexFilters.tsx +++ b/polaris-react/src/components/IndexFilters/IndexFilters.tsx @@ -1,4 +1,4 @@ -import React, {useMemo, useEffect, useCallback, useRef, useState} from 'react'; +import React, {useMemo, useCallback, useRef} from 'react'; import {Transition} from 'react-transition-group'; import {useI18n} from '../../utilities/i18n'; @@ -12,7 +12,6 @@ import {Filters} from '../Filters'; import type {FiltersProps} from '../Filters'; import {Tabs} from '../Tabs'; import type {TabsProps} from '../Tabs'; -import {TextField} from '../TextField'; import {useBreakpoints} from '../../utilities/breakpoints'; import {useIsSticky} from './hooks'; diff --git a/polaris-react/src/components/IndexFilters/components/FilterButton/FilterButton.tsx b/polaris-react/src/components/IndexFilters/components/FilterButton/FilterButton.tsx index 01a8fd50760..537b83320e1 100644 --- a/polaris-react/src/components/IndexFilters/components/FilterButton/FilterButton.tsx +++ b/polaris-react/src/components/IndexFilters/components/FilterButton/FilterButton.tsx @@ -4,7 +4,6 @@ import {FilterIcon} from '@shopify/polaris-icons'; import {Tooltip} from '../../../Tooltip'; import {Text} from '../../../Text'; import {Button} from '../../../Button'; -import {Box} from '../../../Box'; import {classNames} from '../../../../utilities/css'; import styles from './FilterButton.module.css'; @@ -15,7 +14,6 @@ export interface FilterButtonProps { pressed?: boolean; tooltipContent: string; disclosureZIndexOverride?: number; - hasAppliedFilters?: boolean; onClick: () => void; }