Skip to content

Commit

Permalink
Merge pull request #631 from Neovici/feat/boolean-descending-notify
Browse files Browse the repository at this point in the history
fix: boolean initial descending and groupDescending
  • Loading branch information
megheaiulian authored Nov 13, 2024
2 parents d05525a + 0318523 commit a605282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/use-sort-and-group-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const useSortAndGroupOptions = (
suffix: '-sortOn',
}),
[descending, setDescending] = useHashState(
settings.descending,
boolParam(settings.descending),
hashParam,
{
suffix: '-descending',
Expand All @@ -42,7 +42,7 @@ export const useSortAndGroupOptions = (
suffix: '-groupOn',
}),
[groupOnDescending, setGroupOnDescending] = useHashState(
settings.groupOnDescending,
boolParam(settings.groupOnDescending),
hashParam,
{ suffix: '-groupOnDescending', read: boolParam },
),
Expand Down

0 comments on commit a605282

Please sign in to comment.