Skip to content

Commit

Permalink
doc(tanstack-table): fix tanstack table sorting parser code
Browse files Browse the repository at this point in the history
  • Loading branch information
junwen-k committed Jan 1, 2025
1 parent 1373e25 commit d24602c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const sortParser = createParser<ColumnSort>({
const parseAsSortingState = parseAsArrayOf(sortParser).withDefault([])
export function useSortingSearchParams(key = 'orderBy') {
export function useSortingSearchParams() {
return useQueryState('${sortingUrlKey}', parseAsSortingState)
}`)

Expand Down

0 comments on commit d24602c

Please sign in to comment.