Skip to content

Commit

Permalink
Comment to answer later
Browse files Browse the repository at this point in the history
  • Loading branch information
pratishta committed Jul 19, 2024
1 parent 5750a40 commit 9ca24de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export interface PaginationProps{
};

export const Pagination = ({total, path}: PaginationProps) => {
// where do we want to limit to only having 7 as limit
const [searchParams] = useSearchParams();

const limit = Number(searchParams.get("limit"));
const offset = Number(searchParams.get("offset"));

Expand Down

0 comments on commit 9ca24de

Please sign in to comment.