Skip to content

Commit

Permalink
Remove setting the default limit and offset again
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagofilipenunes committed Sep 9, 2024
1 parent 2e8e871 commit b0d83ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/activity/ActivityProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ type ParamsKey = Extract<keyof QueryActivityParams, string>;
export const ActivityProvider: FC<Props> = ({ children, params }) => {
const nav = useNavigate();
const searchParams: ActivitySearchParams = useSearch({ strict: false });
const limit = searchParams.limit ?? 10;
const offset = searchParams.offset ?? 0;
const limit = searchParams.limit;
const offset = searchParams.offset;

const queryParams = getQueryParams(params, searchParams);
// Query the list
Expand Down

0 comments on commit b0d83ec

Please sign in to comment.