fix: require all sorts to have default value

This commit is contained in:
Kendall Garner
2026-06-28 17:36:14 -07:00
parent 18a7fd0731
commit 9806d2f553
5 changed files with 12 additions and 6 deletions
@@ -6,7 +6,7 @@ import { GenreListSort } from '/@/shared/types/domain-types';
import { ItemListKey } from '/@/shared/types/types';
export const useGenreListFilters = () => {
const { sortBy } = useSortByFilter<GenreListSort>(null, ItemListKey.GENRE);
const { sortBy } = useSortByFilter<GenreListSort>(GenreListSort.NAME, ItemListKey.GENRE);
const { sortOrder } = useSortOrderFilter(null, ItemListKey.GENRE);