This commit is contained in:
Polaris
2024-07-21 11:42:39 -04:00
parent 30aa858515
commit 6b13a06390

View File

@ -70,7 +70,6 @@ export const columns: ColumnDef<chunithm>[] = [
if (highScore < lowScore) return 1; if (highScore < lowScore) return 1;
if (highScore > lowScore) return -1; if (highScore > lowScore) return -1;
// TODO: FIGURE OUT DEFAULT SORT
return 0; return 0;
}, },
}, },
@ -168,7 +167,6 @@ export const columns: ColumnDef<chunithm>[] = [
if (newTab) { if (newTab) {
newTab.focus(); newTab.focus();
} else { } else {
// Handle popup blocker or inability to open new tab
router.push(`/${token}/${row.original.id}`); router.push(`/${token}/${row.original.id}`);
} }
} }