diff --git a/src/app/(authenticated)/dashboard/analytics/ActiveFilter.tsx b/src/app/(authenticated)/dashboard/analytics/ActiveFilter.tsx new file mode 100644 index 0000000000..6cdcb374ca --- /dev/null +++ b/src/app/(authenticated)/dashboard/analytics/ActiveFilter.tsx @@ -0,0 +1,33 @@ +import { X } from 'lucide-react'; + +import { Button } from '@/components/ui'; + +import type { Filter } from './types'; + +export const ActiveFilter = ({ + filter, + onClear, +}: { + filter: Filter; + onClear: () => void; +}) => { + if (!filter) { + return null; + } + + return ( +