Skip to content

Commit

Permalink
remove unused class from FilterSelect
Browse files Browse the repository at this point in the history
  • Loading branch information
mcwinter07 committed Jan 8, 2025
1 parent ca5d1f0 commit a4ec440
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/components/src/Filter/FilterSelect/FilterSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React, { useState } from 'react'
import { useButton } from '@react-aria/button'
import { HiddenSelect, useSelect } from '@react-aria/select'
import { useSelectState, type SelectProps as AriaSelectProps } from '@react-stately/select'
import classnames from 'classnames'
import { Filter, FilterContents } from '~components/Filter/Filter'
import { type FilterButtonProps } from '~components/Filter/FilterButton'
import { SelectProvider } from '~components/__rc__/Select/context'
Expand Down Expand Up @@ -94,7 +93,7 @@ export const FilterSelect = <Option extends SelectOption = SelectOption>({
})
}
onMount={setTriggerRef}
classNameOverride={classnames(styles.filterSelect, classNameOverride)}
classNameOverride={classNameOverride}
>
<FilterContents classNameOverride={styles.filterContents}>
<SelectProvider<Option> state={state}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { useEffect, useId } from 'react'
import { type Meta, type StoryObj } from '@storybook/react'
import { expect, within } from '@storybook/test'
import { Button } from '~components/Button'
import { KaizenProvider } from '~components/KaizenProvider'

Check failure on line 5 in packages/components/src/Notification/ToastNotification/_docs/ToastNotification.stories.tsx

View workflow job for this annotation

GitHub Actions / eslint

'KaizenProvider' is defined but never used. Allowed unused vars must match /(^_|^React$)/u
import { ToastNotification, useToastNotification } from '../index'

const meta = {
Expand Down

0 comments on commit a4ec440

Please sign in to comment.