Skip to content

Commit

Permalink
fix: last typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
carere committed Jan 17, 2025
1 parent 239a715 commit 912ef9d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ import { match } from 'ts-pattern';

import { type CasesFilterName } from '../filters';
import { CasesDateRangeFilter } from './CasesDateRangeFilter';
import { NameFilter } from './NameFilter';
import { StatusesFilter } from './StatusesFilter';

export const FilterDetail = ({ filterName }: { filterName: CasesFilterName }) =>
match(filterName)
.with('dateRange', () => <CasesDateRangeFilter />)
.with('statuses', () => <StatusesFilter />)
.with('name', () => <NameFilter />)
.exhaustive();

0 comments on commit 912ef9d

Please sign in to comment.