Skip to content

Commit cb4f313

Browse files
author
Hweinstock
committed
fix(ci): address formatting issues in rebase
1 parent 1686f84 commit cb4f313

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

.oxlintrc.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
{
22
"$schema": "./node_modules/oxlint/configuration_schema.json",
3-
"plugins": [
4-
"typescript",
5-
"react"
6-
],
3+
"plugins": ["typescript", "react"],
74
"categories": {
85
"correctness": "error"
96
},
10-
"ignorePatterns": [
11-
"dist/",
12-
"node_modules/"
13-
],
7+
"ignorePatterns": ["dist/", "node_modules/"],
148
"overrides": []
159
}

src/components/ui/data-table/DataTable.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ export function DataTable<T extends Record<string, unknown>>({
8383
// Sort
8484
const sorted = sortColumn
8585
? [...filtered].sort((a, b) => {
86-
const av = String(a[sortColumn] ?? "");
87-
const bv = String(b[sortColumn] ?? "");
88-
return sortDirection === "asc" ? av.localeCompare(bv) : bv.localeCompare(av);
89-
})
86+
const av = String(a[sortColumn] ?? "");
87+
const bv = String(b[sortColumn] ?? "");
88+
return sortDirection === "asc" ? av.localeCompare(bv) : bv.localeCompare(av);
89+
})
9090
: filtered;
9191

9292
const totalPages = Math.ceil(sorted.length / pageSize);

0 commit comments

Comments
 (0)