Skip to content

Commit f64dea9

Browse files
author
Dylan Huang
committed
Remove reset filters button and associated functionality from EvaluationTable component
1 parent 4f07c55 commit f64dea9

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

vite-app/src/components/EvaluationTable.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ export const EvaluationTable = observer(() => {
5151
state.updateTableFilterConfig(filters);
5252
};
5353

54-
const resetFilters = () => {
55-
state.resetTableFilterConfig();
56-
};
57-
5854
return (
5955
<div className="bg-white border border-gray-200">
6056
{/* Filter Controls */}
@@ -75,14 +71,6 @@ export const EvaluationTable = observer(() => {
7571
)}
7672
</div>
7773
</div>
78-
<Button
79-
onClick={resetFilters}
80-
size="sm"
81-
variant="secondary"
82-
disabled={state.tableFilterConfig.length === 0}
83-
>
84-
Reset Filters
85-
</Button>
8674
</div>
8775
<div className="bg-white rounded-lg p-4">
8876
<FilterSelector

0 commit comments

Comments
 (0)