Skip to content

Commit

Permalink
fix: Remove unused state parameter from getFirst in useCursorListModel (
Browse files Browse the repository at this point in the history
#2713)

Fixes: #2712

[category:Components]

Co-authored-by: @NicholasBoll <nicholas.boll@gmail.com>
Co-authored-by: @RayRedGoose <48605821+RayRedGoose@users.noreply.github.com>
  • Loading branch information
3 people committed May 1, 2024
1 parent c6b7fe7 commit 92f9141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/react/collection/lib/useCursorListModel.tsx
Expand Up @@ -74,7 +74,7 @@ export type NavigationRequestor = (index: number, model: NavigationInput) => num
/**
* Get the first item in a list regardless of column count
*/
export const getFirst: NavigationRequestor = (_, {state}) => 0;
export const getFirst: NavigationRequestor = () => 0;
/**
* Get the last item in a list regardless of column count
*/
Expand Down

0 comments on commit 92f9141

Please sign in to comment.