mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 12:35:25 +02:00
feat: add Excel-style filters to Check columns and fix TS lint errors
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
> react-example@0.0.0 lint
|
||||||
|
> tsc --noEmit
|
||||||
|
|
||||||
|
src/components/ProductDescriptions.tsx(205,21): error TS2304: Cannot find name 'TabType'.
|
||||||
@@ -6,6 +6,8 @@ import { cn } from '../lib/utils';
|
|||||||
import { ColumnFilterPopover } from './ColumnFilterPopover';
|
import { ColumnFilterPopover } from './ColumnFilterPopover';
|
||||||
import { usePersistentState } from '../contexts/FilterContext';
|
import { usePersistentState } from '../contexts/FilterContext';
|
||||||
|
|
||||||
|
type TabType = 'all' | 'missingLongDE' | 'missingLongEN' | 'missingShortDE' | 'missingShortEN' | 'complete' | 'incomplete';
|
||||||
|
|
||||||
interface ProductDescriptionsProps {
|
interface ProductDescriptionsProps {
|
||||||
data: ExcelRow[];
|
data: ExcelRow[];
|
||||||
headers: string[];
|
headers: string[];
|
||||||
|
|||||||
Reference in New Issue
Block a user