Skip to content

Commit 229bc8d

Browse files
committed
clean up unused vars
1 parent e6b2a7c commit 229bc8d

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/lib/plugins/addSortBy.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ export const addSortBy =
178178

179179
const sortKeys = createSortKeysStore(initialSortKeys);
180180
const preSortedRows = writable<BodyRow<Item>[]>([]);
181-
//const sortedRows = writable<BodyRow<Item>[]>([]);
182181

183182
const deriveRows: DeriveRowsFn<Item> = (rows) => {
184183
return derived([rows, sortKeys], ([$rows, $sortKeys]) => {
@@ -188,7 +187,6 @@ export const addSortBy =
188187
} else {
189188
return $rows;
190189
}
191-
//sortedRows.set(_sortedRows);
192190
});
193191
};
194192

src/lib/plugins/addTableFilter.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ export const addTableFilter =
117117
({ columnOptions }) => {
118118
const filterValue = writable(initialFilterValue);
119119
const preFilteredRows = writable<BodyRow<Item>[]>([]);
120-
//const filteredRows = writable<BodyRow<Item>[]>([]);
121120
const tableCellMatches = recordSetStore();
122121

123122
const pluginState: TableFilterState<Item> = { filterValue, preFilteredRows };
@@ -133,7 +132,6 @@ export const addTableFilter =
133132
includeHiddenColumns,
134133
});
135134
tableCellMatches.set($tableCellMatches);
136-
//filteredRows.set($filteredRows);
137135
if (serverSide) {
138136
return $rows;
139137
} else {

0 commit comments

Comments
 (0)