Skip to content

Commit c782fbe

Browse files
committed
Pagination bug where we were starting on page 2 for some reason.
1 parent 9903332 commit c782fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apps/self-service/src/lib/work-provider/work.provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const WorkProvider: FC<{ children: ReactNode }> = props => {
5555
try {
5656
const safeProfile: UserProfile = profile as UserProfile
5757

58-
let pageNumber: number = 1
58+
let pageNumber: number = 0
5959
let nextSet: Array<Work> = await workGetAllAsync(safeProfile, pageNumber += 1)
6060

6161
const contextData: WorkContextData = {

0 commit comments

Comments
 (0)