fix type errors

This commit is contained in:
Georges-Antoine Assi
2026-06-18 08:07:07 -04:00
parent aea09911ad
commit 4feb71a697
2 changed files with 3 additions and 1 deletions

View File

@@ -11,5 +11,7 @@ export type ClientTokenAdminSchema = {
created_at: string;
user_id: number;
username: string;
user_avatar_path: string;
user_updated_at: string;
};

View File

@@ -138,7 +138,7 @@ function updateOptions({ sortBy }: { sortBy: SortBy }) {
} else {
// Clear the `orderBy` key when the user removes
// the sort column from the table
romsStore.setOrderBy(null);
romsStore.setOrderBy("");
romsStore.setOrderDir("asc");
}
romsStore.fetchRoms();