Revert tsx fix.

Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
This commit is contained in:
Aramis Sennyey
2022-10-11 17:07:12 -04:00
parent 310c6a5827
commit fd7c409fe2
@@ -373,7 +373,7 @@ export function Table<T extends object = {}>(props: TableProps<T>) {
const newData = (data as any[]).filter(
el =>
!!Object.entries(selectedFilters)
.filter(([, value]: [any, any]) => !!value.length)
.filter(([, value]) => !!value.length)
.every(([key, filterValue]) => {
const fieldValue = extractValueByField(
el,